Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Thumbs.db Killer


  • Please log in to reply
3 replies to this topic
Ripper
  • Members
  • 17 posts
  • Last active: Jun 10 2008 07:32 PM
  • Joined: 24 Oct 2007
Hir is my Thumbs.db Killer, the prog delet all thumbs.db for more space at your hdd xD

FileSelectFolder, folder, , 3, Pick a drive to analyze:
Gui, Add, Text, x6 y5 w220 h30 vText, Pleas Wait...
Gui, Show, x131 y91 h44 w240, Thumbs.db Killer
Gui  +ToolWindow +AlwaysOnTop
sleep,1000
Loop, %folder%\Thumbs.db, 1, 1
   {
  GuiControl,, Text,Deleted Thumbs---> %var%/%var2%
   var += 1
      FileRecycle, %A_LoopFileFullPath%
      If ErrorLevel <> 0
         FileRecycle, %A_LoopFileFullPath%, 1
         var2 += 1
        GuiControl,, Text,Deleted Thumbs---> %var%/%var2%
   }
MsgBox,All Thumbs.db deleted(%var%/%var2%)!!!


GuiClose:
ExitApp
return


engunneer
  • Moderators
  • 9162 posts
  • Last active: Sep 12 2014 10:36 PM
  • Joined: 30 Aug 2005
windows will just rebuild them later (slowing you down). If you need to delete small things such as this for space, maybe you should upgrade?

Otherwise, a very good demonstration script for the concept.

Fry
  • Members
  • 885 posts
  • Last active: Jan 17 2011 09:57 PM
  • Joined: 01 Nov 2007
Isnt there a setting to disable thumb.db in windows :roll:

Lexikos
  • Administrators
  • 9844 posts
  • AutoHotkey Foundation
  • Last active:
  • Joined: 17 Oct 2006

In Windows Vista, Microsoft replaced thumbs.db files with a centralized thumbnail database thumbcache_xxxx.db located in \Users\[user name]\AppData\Local\Microsoft\Windows\Explorer.

8)

windows will just rebuild them later (slowing you down).

Actually, "regenerating" the thumbs.db might actually make it more efficient:

An interesting aspect of thumbs.db files is that when a graphic is viewed and an entry made for it in the database, it is maintained indefinitely by the operating system. If the file is deleted, the image will remain unless the thumbs.db file or the entire folder are deleted.

(Thumbs DB Files Forensic Issues, interesting read. Thank wikipedia for the link.)

Isnt there a setting to disable thumb.db in windows :roll:

It's called "Do not cache thumbnails", and it can be found by going to Tools -> Folder Options -> View -> Advanced Settings from any Explorer window (in XP.)