Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: xcopy from network drive to local  (Read 4551 times)

0 Members and 1 Guest are viewing this topic.

rjbinney

    Topic Starter


    Adviser
  • Disarmingly Good-looking
  • Experience: Familiar
  • OS: Windows 11
xcopy from network drive to local
« on: May 04, 2005, 10:00:37 PM »
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
Dan: You're gonna need to get someone to fix my computer.                     Kim: What's wrong with it?                     Dan: It's in several pieces on my floor.