D
Danny Kile
I use Xcopy to make backup of important files and folders to an external
hard drive. However, in this long list of files and folders there is one
folder that I would like to exclude. I run this from a batch file with
some other Xcopy command as well the trouble command line follows along
with the contents of the exclude file list.
Batch file command:
xcopy "C:\Documents and Settings\Danny\Application Data\*.*" "H:\Dannys
Desktop PC Backup\Application Data\*.*" /h /e /r /d /y
/exclude:exclude.txt
The Exclude.txt file contains:
\Cache\
I have tried also cache, cache\, \cache\, and \*cache*\ I have also
tried not using the exclude.txt file and putting the directory in
question right in the command line. The command copies everything in the
C:\Documents and Settings\Danny\Application Data\ path including the
cache folder.
Thank you, in advance for any help!
Danny,
--
Danny Kile
Please reply to the Newsgroup ONLY
"Dogs come when they're called, CATS take a message and get back to
you." Mary Bly
hard drive. However, in this long list of files and folders there is one
folder that I would like to exclude. I run this from a batch file with
some other Xcopy command as well the trouble command line follows along
with the contents of the exclude file list.
Batch file command:
xcopy "C:\Documents and Settings\Danny\Application Data\*.*" "H:\Dannys
Desktop PC Backup\Application Data\*.*" /h /e /r /d /y
/exclude:exclude.txt
The Exclude.txt file contains:
\Cache\
I have tried also cache, cache\, \cache\, and \*cache*\ I have also
tried not using the exclude.txt file and putting the directory in
question right in the command line. The command copies everything in the
C:\Documents and Settings\Danny\Application Data\ path including the
cache folder.
Thank you, in advance for any help!
Danny,
--
Danny Kile
Please reply to the Newsgroup ONLY
"Dogs come when they're called, CATS take a message and get back to
you." Mary Bly