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.

I have a malfunctioning hard drive that is full of thousands of files. All the files are still shown as 'there' when explored (with both Windows and Linux). Some of the files can be recovered by moving them to another hard drive, files with CRC errors cannot be moved.

Everything that can be recovered has been moved; the files that could not be moved have been left on the hard drive. I would like to create a 'text file' that lists all the files on the broken hard drive so that I have a list of files for future reference.

Are there any applications that allow me to do this?

share|improve this question
add comment

2 Answers

you can always use dir /s > fileList.txt. Not the prettiest output, but functional and definitely available on Windows.

share|improve this answer
    
Cheers! It works. –  kristovaher Jul 15 '11 at 7:13
add comment
up vote 0 down vote accepted

As per Jimmy's suggestion, Windows dir command actually allows for a prettier output, this one gave me the best result:

dir *.mp3 /s /w /b > lostFiles.txt

Of course, removing *.mp3 from there gives all files, but in that case I only needed music.

Reference to dir command is here: http://www.computerhope.com/dirhlp.htm

share|improve this answer
add comment

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.