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 drive filled with 1000's of files spread across hundreds of folders. I was using a sync program that created many placeholder files throughout the drive. I need to delete all the placeholders but leave the folders and other files intact. I am using Windows 7.

share|improve this question

2 Answers 2

up vote 13 down vote accepted

I found my own answer at the command line.

del /s *.wlx

where wlx is the file extension in question.

share|improve this answer
    
If I have files called "ASP" and "ASPX" and runs this, it also deletes the ASPX pages... Just saying - its not the "specific" extension –  Lars Holdgaard Feb 3 '14 at 9:21

You can do this using the Windows GUI. Enter "*.wlx" in the search box in explorer. Then after the files have been found, select them all (CTRL-A) and then delete using the delete key or context menu. This also works in older versions of Windows using the separate explorer file search pane and window.

The command line is faster, especially if there are a lot of files. I've just added this answer for the record.

share|improve this answer
    
I actually tried this first since it is the easiest way to remove these files. The command line method works great for many files but it has the potential delete the wrong files if you are not careful. –  Peter Hoven Aug 25 '10 at 13:39

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.