I am using xcopy to backup some local file to a network drive. I would like to use the "Exclude" switch of xcopy, but so far have been unsuccessful. Must be a syntax problem, I'd guess. Ideally, I would like to exclude an entire folder, but excluding a list of file types would be my second solution choice.
This is my command line (in a batch file):
xcopy "C:\Documents and Settings\ken.DWDOMAIN\*.*" "G:\FORMS\ken\Kens Bkup from Local\DocsAndSettings-KenDWDOMAIN\" /e/y/EXCLUDE:\My Music\