• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

batch file to delete thumbs.db

x_kzy_xd

Member
It's very annoying to have thumbs.db files sometimes. I want to get rid of them. Is there any way to write a batch file that deletes all the thumbs.db and eh_thumbs.db files on my computer?
 
Hmm, off the top of my head:

Code:
del /s /f /p c:\*thumbs.db

Take out the /p if you don't want to be prompted for each one. I'd suggest leaving it just in case, but if you have a thousand thumbs.db files, it will get annoying pretty quickly.
 
This will delete them all, for all drives
for %%d in (c d e f g h i j k l m n o p q r s t u v w x y z) do (if exist %%d:\ del /F /S /Q %%d:\*thumbs.db)

If you have any CD/DVD Roms in... might want to be a bit more specific about the drive letters, but it should still work/bypass them.
 
¿ why use software for non-existent problem ?

You can deactivate those cache thumbnails in the Windows Options

1) Open My Computer
2) Click on Tools
3) Click on Folder Options
4) Click on the View Tab
5) set or unset (depending windows version) the option for cache thumbnails
6) Click Ok
7) Close My Computer

done 🙂
 
Last edited:
If you ever installed Thumbs+ software, it is not always done. Thumbs.db is created by Thumbs+ by Cerious Software, not necessarily Windows.

http://www.cerious.com/

You can delete them all, but everytime you opt to view thumbnails of graphics, they will be rebuilt.

Gitano's fix is good - but thumbnails are very useful if you work a lot with imagery.
 
Last edited:
¿ why use software for non-existent problem ?

You can deactivate those cache thumbnails in the Windows Options

1) Open My Computer
2) Click on Tools
3) Click on Folder Options
4) Click on the View Tab
5) set or unset (depending windows version) the option for cache thumbnails
6) Click Ok
7) Close My Computer

done 🙂

Because thumbnail caching makes image folder browsing quicker. My guess is that the OP upgraded from XP to >XP and now thumbs.db is redundant* (as newer versions of Windows keep a thumbnail cache for everything in a different place and way).

* - I'm about 95% sure I'm correct in saying this.

One other thing, I've found that Picasa names its cache files thumbs*.db (here I've got thumbs_0.db, thumbs2_0.db, thumbs_index.db and thumbs2_index.db).
 
Last edited:
yeah mike you right, if you got older versions of those from other windows installs then yeah find and clean them all, i mean if the OP do not want to see thumbs anymore, after cleaning better to deactivate them completely in windows options vs having to run the cleaner over and over.

I only see those thumbs useful for large image folders, for little ones on not much images inside the gain is negligible. its a personal thing 🙂
 
Back
Top