PDA

View Full Version : Program or command that copies files without stopping on CRC errors?


Time4aMassiveOC
04-12-08, 02:58 PM
so yet another one of my a.b.used (Actually Been USED) harddrives is screaming its cyclic redundancy check death scream.

and i want to get all my files off this 320 gig harddrive. but when i copy them it obviously errors out on bad files making it impossible (timeframe wise) to copy the ones that are actually still good..

now i know that in dos there is switch you can set.

/c makes the copy not stop on crc errors

and X on the "xcopy" makes it an "extended copy" (i assume it just means it tries more times to read it before moving on when it fails)

C:/> xcopy /c file1.exe D:/location


but how would i just copy all the files on the failing disk over to a folder on a new harddrive and just turn off the stop on error????

i would really appreciate some help because id love to have all the files that are still good....

thideras
04-12-08, 02:59 PM
I don't have xcopy on my machine (I'm at work), but you can do "xcopy /?" in the command line and it will show you all the flags.

Time4aMassiveOC
04-12-08, 05:05 PM
thanks for the quick reply, at least now i know i have the right thing, but i tried doing the command

xcopy /c E: I:

trying to copy all the files in drive E: to Drive I: without stopping on errors


but i was unable to, what am i doing wrong?

thideras
04-12-08, 05:07 PM
"It was unable to"....what error?

Omsion
04-12-08, 11:50 PM
TerraCopy is a utility that should be able to do so, if you can't get xcopy to work.

As for xcopy, it seems your flags are out of order. Source/destination comes before option flags. Try
xcopy E:\ I:\ /e /c
If that's no good, throw wildcards in:
xcopy E:\* I:\* /e /c

Time4aMassiveOC
04-13-08, 12:10 AM
why this worked
xcopy E:\* I:\* /e /c

but this didnt
xcopy E:\* I:\* /c

i dunno, ill figure it out tommororw when its done copying and i wake up and look at what e stands for. then we'll see if it really has worked

Omsion
04-13-08, 11:59 AM
/e copies all subdirectories and the stuff in them. So without it, you only get the stuff in the top directory.

Time4aMassiveOC
04-23-08, 12:05 PM
hmmm, so i got a chance to start it before going to bed, but all it did when i put in this command

xcopy E:\MUSIC\* I:\* /e /c


was copy all the folders. without one file. it was odd. any ideas on what might have happened?

i was thinking maybe all the files are bad but double clicking on them from the source drive E plays them just fine.



im about to try terracopy ill let you know how it goes

Jon
04-23-08, 12:50 PM
RoboCopy from Microsoft can do that easily.

Omsion
04-23-08, 12:52 PM
/i maybe?