|| posted on 12-4-2008 at 14:46
You'll note that I've added a line that changes to the "my documents directory, assuming that you are only one level up and in the
"drive:\Documents and settings\username\" directory
I've also removed the space between x and copy, the command is "xcopy" and I've also contracted you destination folder to just "backup" DOS can
get confused with long filenames and this is just a "safer" method.
|| posted on 12-4-2008 at 11:41
|I was typing xcopy. when i changed my backup folder to backup instead of weekly backup it worked just fine.
|| posted on 12-4-2008 at 09:17
|For one thing, it's "xcopy", not "x copy"...
You may be getting the error, coz it's taking it as "copy".
|| posted on 12-4-2008 at 00:16
|I am trying to write a batch file to backup my documents folder. I am using xp pro. below are the steps i am using:
copy con backup.bat
x copy *.* e:\weekly backup /e /v /y
I then try to run the file and receive the following message:
invalid number of parameters
what am i doing wrong? E is my external usb harddrive.