Posted by jack on December 17, 2008 at 05:34:08:
In Reply to: Re: Using an exclude file in dos xcopy batch file -the answer posted by James Burnham on August 12, 2008 at 08:19:27:
: to use /Exclude create a text file and enter the file(s) folder(s) you want to exclude 1 to a line. example you create a file called omit.txt and type in the following
: \folder1\
: .dat
: \folder2\*.exe
: your xcopy command would be /exclude:omit.txt
: and all of folder1, all .dat files, and all .exe in folder 2 would be excluded. Microsoft doesn't explain this very well at all.