Web Hosting Talk







View Full Version : ROBOCOPY - How to use


Georgecooldude
10-11-2004, 09:42 AM
Could someone explain how I can transffer the entire contents of \\myserver\users to another directory? I only seem to be able to get the stuff from the root of \users and not any subdirectorys/files

monaghan
10-11-2004, 10:02 AM
From memory it supports the XCOPY switches, so try a /s

I've not used it for some time, you could also try rsync as there's a windows version about somewhere.

Burhan
10-12-2004, 04:04 AM
/E = Copies directories and subdirectories, even empty ones

To find out options for Windows commands, try the command with the /? option. For example, for xcopy, xcopy /? from a command prompt will give you a summary of its options. For robocopy, you can find this reference (http://www.ss64.com/nt/robocopy.html) handy.

Georgecooldude
10-12-2004, 04:22 AM
To clear up any confusion for me.

xcopy and robocopy are different applications right?

monaghan
10-12-2004, 04:47 AM
robocopy was written by one of the MS techs many years ago (I had it on either NT 3.5 or 3.51 !) as a robust replacement for xcopy. The switches are therefore similiar.

Burhan
10-12-2004, 08:32 AM
I think robocopy comes with a resource kit, and xcopy is part of the base Windows installation.