G
Guest
I am trying to backup files as a scheduled task using a batch file. I am not
using the /h switch with Xcopy, and it is not copying system files, but the
directory it creates is hidden, hiding everything below it (the entire
backup). This happens when I Xcopy the root directory of a partition (e:\),
but not a subdirectory (e:\p). Please help. Batch file below:
set backdate=%date:~10,4%-%date:~4,2%-%date:~7,2%
xcopy e:\p\letters z:\%backdate% /e/y/i/c
using the /h switch with Xcopy, and it is not copying system files, but the
directory it creates is hidden, hiding everything below it (the entire
backup). This happens when I Xcopy the root directory of a partition (e:\),
but not a subdirectory (e:\p). Please help. Batch file below:
set backdate=%date:~10,4%-%date:~4,2%-%date:~7,2%
xcopy e:\p\letters z:\%backdate% /e/y/i/c