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'd like to do a ... delete *.dll from a folder, but preview it to make sure there aren't actually any folder names I have forgotten are there that I would actually want to keep. Other possiblities: *svn* or *ReSharper*

Is there a program that will let me preview and do a wildcard delete? preferably with a friendly UI.

share|improve this question
up vote 4 down vote accepted
dir *.dll /S
del *.dll /S

If you really want to be careful:

del *.dll /S /P

Why bother with a UI?

share|improve this answer
+1 for the built in OS functionality – ChrisF Mar 22 '11 at 16:42
@ChrisF - deja vu! – Hyppy Mar 22 '11 at 16:43
I get annoyed when people suggest 3rd party tools that do what the OS can do, so I'm happy when people point out what the OS can already do for them. – ChrisF Mar 22 '11 at 16:51

To add to Hyppy's answer, which I agree with, I thought I would mention delen.exe, which I find very handy when I want to all delete but one (or more) files.

It also has a switch (/N), which executes the command without actually doing anything, which is useful for testing.

share|improve this answer

Recently found out, you can just do the wildcard search in windows explorer and then select all... ctrl clicking things you don't want to delete and delete that way.

share|improve this answer

You must log in to answer this question.

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