Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 02, 2016, 10:40:20 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IndexDotDatCleaner  (Read 1137 times)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,275
    • View Profile
    • Miles Ahead Software
    • Donate to Member
IndexDotDatCleaner
« on: November 19, 2011, 06:12:09 PM »
Here's an AHK script to delete all index.dat files on the system partition. It should only be run using Windows Registry RunOnce Key.  See my RunItOnce for a simple way of setting that up.

; IndexDotDatCleaner to delete all index.dat files on system
; partition. Should only be run via RunOnce key in Registry
; HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
;
; (See my RunItOnce program for a convenient way to add it.)
;
; It searches the entire partition for index.dat files.  It will slow
; down the boot.  It should only be used occasionally to clean them all out.
;
; MilesAhead
;
#NoTrayIcon
stringleft,sysdrive,A_WinDir,3
SetWorkingDir,%sysdrive%
Loop,index.dat,,1
{
FileDelete,%A_LoopFileFullPath%
}