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 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
add comment

1 Answer

up vote 1 down vote accepted

From a command prompt (cmd from RUN) do a

cd\server\photos
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
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.