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 Windows Home Server with about 5,000 files that were corrupted and lost from multiple a hard drive failure. Before I blow them away so they're not included in future backups I want to get a listing of them.

How can I save a listing of all files with the *.wlx extension sitting on a \server\photos share? Can I export that list to a spreadsheet?

share|improve this question
up vote 1 down vote accepted

From a command prompt (cmd from RUN) do a

dir *.wlx > corrupt.txt

That will output all those filenames to corrupt.txt in that same folder.

share|improve this answer
Your command helped but only got the root directory. Powershell offered me a little more nuance. What ended up helping me the most was this command: Get-ChildItem -recurse \server\photos -include *.wlx > corrupt – Pangea Aug 2 '10 at 1:21
@JNK forgot the /s parameter to dir, but PowerShell is better, of course. – Jay Bazuzi Jul 7 '11 at 6:08

You must log in to answer this question.

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