Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Today i had some problems with a laptop, and i had to reinstall the windows on it, while i was in the recovery console, i used XCOPY batch command to copy files and folders from c:\users\*USERNAME*\*.* to a folder on another partition. The problem is the command created a file with the save folder name that contains all my information. Is there any way to get the information back?

share|improve this question

migrated from stackoverflow.com Dec 15 '12 at 19:12

This question came from our site for professional and enthusiast programmers.

    
xcopy has a parameters to specify that the target is a directory. –  GolezTrol Dec 15 '12 at 14:57

1 Answer 1

up vote 0 down vote accepted

xcopy has a parameters to specify that the target is a directory. Using that might prevent problems like this in the future.

It will be hard, if not impossible to restore the files. They are just copied one after another without any indication of where one starts and another ends. Probably no filenames stored, no size information.. It may work if you got only a couple of files that each have a clear file header, but otherwise you're doomed.

share|improve this answer
    
My luck was that the files were successfully restored by a HDD data recoverer. The all files that were stored in the ~2gb single file were so damaged that I was only able to restore some photos as they still had an intact header. –  Nutterz Aug 25 '13 at 9:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.