Any way of stepping over copy errors?

  • Thread starter Thread starter Len Cuff
  • Start date Start date
L

Len Cuff

I have just had to rebuild an XP Home PC for a friend as his disk was
beginning to flake. I am trying to get the docs and settings back from
the old drive to an empty partition on a new drive. Is there any way I
can set it up tp copy it all BUT ignore errors? I've copied a lot but
I'm now up against 'file not found' errors and explorer then gives
up!!

TIA


cheers,
Len
 
Use XCOPY. Type it in help.

Type cmd in Start - Run
then in the command prompt type something like this (adjust for your paths and drives)

xcopy "d:\*.*" "C:\documents and Settings\Your Name\My Documents\*.*" /e /c /f /h /r /y

Check the switches in Help. This will overwrite already copied files and display on screen the result of each file copy. To save the list in a file use

xcopy "d:\*.*" "C:\documents and Settings\Your Name\My Documents\*.*" /e /c /f /h /r /y>"%userprofile%\desktop\XCopy List.txt"

Which will save the list on your desktop (assuming your desktop is in the default location). Likewise we can shorten the original command if your My Docs is in it's default position. %userprofile% = c:\documents and Settings\<Your User Name> The quotes are needed if the name or path has any spaces in it.

xcopy "d:\*.*" "%userprofile%\My Documents\*.*" /e /c /f /h /r /y
 
Back
Top