xcopy help please...

Soldato
Joined
3 Dec 2002
Posts
4,071
Location
Groovin' @ the disco
Hi
My MS-DOS must be very rusty... I need the switches for xcopy to copy all files and directories (which as files in too) from one directory to another.

Thanks in Advance
 
xcopy /e /h /y "c:\sourcefolder" "d:\destinationfolder"


http://ss64.com/nt/xcopy.html


If you're on Vista/7, then use robocopy instead.


robocopy /e "c:\sourcefolder" "d:\destinationfolder"

the next time you run robocopy it will only copy new & updated files


If you're on XP/2003, then save this into C:\Windows\System32\ and you'll have robocopy! http://bleddyn.co.uk/creations/ROBOCOPY.EXE it's made by MS
 
Last edited:
Thanks... I was using the right switches but not saving the batch file.. lol... the joys of using keyboard shortcuts on a mac RDP to a windows server.
 
Back
Top Bottom