I have two machines. One is a desktop that functions as a kind of master file server at home. The other is a laptop that I boogie around with.
I want to write a batch file to xcopy FROM the desktop TO the laptop.
It isn't working.
Running XP SP2
The subdirectory to copy from is called "To Copy" and is in the Shared Documents on the server
The Shared Documents subdiretory on the server is Shared as "\\SERVER\SHAREDDOCS"
The entire hard drive of the server is shared as "\\SERVER\SERVER" and is also mapped as g:\ drive
What is the proper syntax for the file location?
I have tried:
xcopy \\SERVER\SHAREDDOCS\To Copy c:\DEST
xcopy g:\Documents and Settings\All Users\Shared Documents\To Copy c:\DEST
xcopy \\SERVER\SERVER\Documents and Settings\All Users\Shared Documents\To Copy c:\DEST
and finally
xcopy g:\docume~1\alluse~1\shared~1\tocopy c:\dest
What to do?
Thanks