Hi,
I would like to delete all "thumbs.db" (for instance) in my documents folder and sub folders. How do I do that.
Also, how do I delete all the files in a directory and also the directory name from the system. (I tried removeself but that didn't seem to work.)
Thanks
You'll first need to disable thumbnail creation in Folder Options so they don't return:

You could then try this via a batch file since having CCleaner attempt it will be rather slow. I don't know if this will work, however here's a batch script to attempt it (just paste the code in Notepad and save as: "Thumbs Remover.bat" with the quotes, this is fully automatic):
attrib /s -r -h -s "C:\thumbs.db"
del /s /q "C:\thumbs.db"
If you want to see any status messages you could use this instead, must close the window yourself when it's done:
attrib /s -r -h -s "C:\thumbs.db"
del /s /q "C:\thumbs.db"
pause
Thanks for the quick reply.
I have checked the "Do not cache thumbnails" and reran CCleaner, and the directory was not deleted. (the files were). I even rebooted the system.
I added the |REMOVESELF to the ccleaner.ini using notepad. I don't see the option in ccleaner Options/include menu.
The batch file worked great.
Thanks