XCOPY /Exclude Directory Syntax
- by Onion-Knight
I'm trying to use XCOPY to copy a directory that looks like this:
-MainFolder
-ManyFoldersIWantToCopy
-ManyFoldersIWantToCopy
-...
-Source Code
I want to use the /EXCLUDE option to copy every folder except Source Code.
I tried using the following, but I did not have any luck:
xcopy "Source" "Destination" /EXCLUDE:"\Source Code\" /E /C /R…