Hi @Xu, Tao ,
you could try the /xd
option of robocopy to exclude folders.
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy#file-selection-options
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten