easiest way to recursively copy C: to E: ?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
idracca
Posts: 1
Joined: 27 Aug 2011 07:53

easiest way to recursively copy C: to E: ?

#1 Post by idracca » 27 Aug 2011 08:04

Prepping for a fresh install, I want to be conservative and copy my entire C: drive to an external USB drive. I do not want to do a disk image copy because later, I want to randomly pick files to bring back to my new system. What is the best way to:

recursively copy all of C: to E:

without being prompted to overwrite a file (in other words, a force overwrite) ....
with a display of progress as files get copied (in other words, in not in quiet mode) ..
without encountering a command-ending sharing violation message

Thanks in advance for any advice ... Windows XP Professional using the cmd line

phillid
Posts: 109
Joined: 03 Apr 2010 20:27
Location: Wellington, New Zealand
Contact:

Re: easiest way to recursively copy C: to E: ?

#2 Post by phillid » 29 Aug 2011 00:11

I did nearly the same thing a few years back!
I used the xcopy command, you could look up how to use it using xcopy /?

phillid

InterociterOperator
Posts: 11
Joined: 28 Feb 2011 21:08

Re: easiest way to recursively copy C: to E: ?

#3 Post by InterociterOperator » 29 Aug 2011 19:59

Try...

XCOPY C:\*.* E:\*.* /v /s /e /c /g /h /k /r /y /z

but good luck with sharing violation messages... :)

Post Reply