New
#1
MS-DOS file copy help required
To the point --
Is it possible when using Xcopy to designate it use "date created" as opposed to the assumed default of "date modified" when creating a copy script?
The verbose query --
I'm attempting to help a friend recover files from a failing drive. Explorer "copy" will not work as it continually stalls on corrupt files. I then attempted to use Robocopy (Robocopy "H:\Users\Anita\My Pictures" "W:\anita" /E /XA:SH /XD AppData /XJD /R:2 /W:2 /MT:32 /V /NP /LOG+:W:anita.log) but couldn't get it to ignore corrupt files. Xcopy (Xcopy "H:\Users\Anita\Pictures" "W:\anita" /c /i /j /q /s /y) worked well but unfortunately after 18 hours I had to terminate the session with 400GB of the 600GB recovered.
Using Xcopy the file folders were copied in order based on default name alphabetic. Luckily this corresponds to the associated "date created" as they're digital camera folders. Since I am unable to delete via explorer the already transferred folders due to persistent errors I'm hoping there's a way to designate an Xcopy date switch to use "date created" for the purpose of targeting only the folders not yet transferred. It looks like Xcopy defaults to "date modified".
In lieu of the above -- Maybe there's a better way to delete the already transferred files from the failed drive? Is there possibly a better way to configure Robocopy that can help me complete the task.
Any suggestions appreciated.