Kewl Computing  
 

 

 



Deleting index.dat Files

Some of you may find the following to be of help.

Index.dat files contain all of your surfing history since they were created! They also keep getting larger and *cannot* be edited when explorer is running . I won't go into more details of this as the point is to show how *I* get rid of them.This works with Win 98/Me.

STEP 1. Cut and paste these 7 lines into a text editor, and save them as DELTA.BAT on c:\ (root, i.e, not in a folder). To make things clear, each line of the batch file is separated with :: on an otherwise a blank line.

@echo off
::
deltree /y c:\windows\cookies\index.dat>nul
::
deltree /y c:\windows\tempor~1\content.ie5\index.dat>nul
::
deltree /y c:\windows\history\history.ie5\index.dat>nul
::
deltree /y c:\windows\history\history.ie5\mshist~1\index.dat>nul
::
cls
::
exit
The cls is just to make sure the DOS window doesn't stay open just because there’s something on the screen.Exit closes the DOS window; otherwise you’d wind up with an open DOS window on your desktop.

STEP 2. In Control Panel (or Start/Programs/Accessories/System Tools):
* Click on Scheduled tasks.
* Double click on Add Scheduled Task.
* In Scheduled Task Wizard, click next.
* Click on Browse.
* Go to Delta.bat and double click on it.
* In the Name box, enter: Delete Index.dat files
* Click on “When My Computer Starts”
* Check “Open Advanced Properties..”
* Click Finish
* Click settings tab; uncheck all boxes.
* Click apply, then OK.

The next time you start or reboot your computer, all index.dat files will de deleted. (The ones in Cookies and Temporary Internet Files will be recreated at 32 KB; the two in History will be recreated at 16KB.)

The down side of this is you will see a dos window for a couple of seconds when windows loads.If it annoys you then minimize it.

Back to Tips & Tricks

 

 

Contact Us
© 2002 Kewl Computing. All rights reserved.   Privacy Policy

Designer Web Sites  
Tips & Tricks Support Kewl Home Service Products How to Buy Downloads