W
william ewald
Good day,
I am having an issue creating a backup.bat file that has an exclude
statement. What I am trying to do is to backup the My Documents folder
off of C: while excluding the Music directory (to save space). The
backed up files are copied to the mapped H: drive. If anyone can see
where I have gone wrong please let me know. Thank you!!!
Echo
SET ExclPath="C:\Documents and Settings\%username%\My
Documents\Exclude\exclude.txt"
XCOPY "C:\My Documents" /e /s /y H:/EXCLUDE: "C:\Documents and
Settings\%username%\My Documents\Exclude\exclude.txt"
Errors =
Invalid number of parameters
I am having an issue creating a backup.bat file that has an exclude
statement. What I am trying to do is to backup the My Documents folder
off of C: while excluding the Music directory (to save space). The
backed up files are copied to the mapped H: drive. If anyone can see
where I have gone wrong please let me know. Thank you!!!
Echo
SET ExclPath="C:\Documents and Settings\%username%\My
Documents\Exclude\exclude.txt"
XCOPY "C:\My Documents" /e /s /y H:/EXCLUDE: "C:\Documents and
Settings\%username%\My Documents\Exclude\exclude.txt"
Errors =
Invalid number of parameters