• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Xcopy backup to network drive

...and i ran out of options.

Here is the "deal":

We have a shared folder on a computer running XP Pro. While there is a network drive at another location which has a folder that is "shared" on that usb backup drive, it works as the destination folder for the origin shared folder to backup to.

Simply, this is my backup.cmd:

xcopy c:\Documents and Settings\All Users\Documents\*.* n:\\lab0\cad$\ /x /c /s /y /e

Now, when i run this cmd on the origin PC, the command window barely shows up and it "fails" i guess.

Is there anything wrong with this?

I was thinking that maybe the "$" is the problem as that folder on the destination is "hidden". i was also thinking it could be the way i am calling the destination location, because on the backup drive, this folder is really called "b:\" not "n:".

At this time, i am clueless.

Please let me know if you find anything wrong with it.

p.s. if there is anything wrong with me posting in this category please let me know and let me know which is the one to move it to.

Thanks so much!
 
Is the USB drive formatted Fat32 or NTFS? If it's fat32, then the /x switch will fail because it ntfs security rights aren't available.
 
in your backup.cmd file add the line

pause

this should stop it disapearing so you can read why its failing
 
Back
Top