Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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
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:

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .