Delete lots of stuff in Vista
Several months ago, when I got my Vista PC, I used the automated system for moving all my files over. there was a problem half-way through and I had to run it again.
Now I have about 20GB of duplicate files that all look like filename (1).extension. I want to delete all of these files but when I try to do a search for (1) I get every damn file with a "1" showing up. I even tried searching for "(1).gif" and ended up with a list of files that did not contain the (1) marker. Anyone?
Comments
del /f /s /q *(1).*
This will delete every file in every subdirectory which conforms to this format: filename(1).extension
Warning:This will delete files without asking for conformation, even if they are read only. For a more hands on approach through file by file confirmation, type in this command:
del /f /s *(1).*
Happy Hunting!
As for Windows search, unless they've changed it since XP (I haven't really spent much time with Vista), just put "*(1)* into the search box, and it should find everything.
Steve, you don't have to use Windows Search if you would just follow Sonic's instructions. You wish to find those duplicate files, right? And then remove them, right? I'll let you in on a secret. The del command Sonic gave will search for the files itself and delete them as it finds them. No need for you to do anything! You can continue browsing the internet while your computer deletes those duplicate files for you! How wonderful is that?
Alternatively, make a seperate folder and test the command only within that, to see if it will delete stuff with 1s.
It deleted (1).txt but not 1.txt
However, Sonic wasn't entirely right; removing \q doesn't necessarily make it prompt on each file.
You need to add \p to ensure this.
That it's VISTA!
sorry, I had to.