How to delete index.dat

Perris Calderon

dealer
Staff member
Political Access
Joined
24 Jan 2002
Messages
12,388
I just found this, and I know some of you have issues with this file;

The INDEX.DAT file keeps a record of all the web sites you have visited.
Normally you can't simply delete this file since it is protected by the operating system.
However, there is a way:

Close all running applications
Open a command window (CMD.EXE)
Go to to C:\Documents and Settings\username\Local Settings\Temporary Internet Files\Content.IE5 (where username is the replaced by your current login name)
Start the Task Manager (Ctrl-Shift-Esc)
Click on the Processes tab
Select EXPLORER.EXE and click on End Process
The screen will be blank except for the command window
Delete the INDEX.DAT file
Go back to the Task Manager
Do File / Run / Explorer and the desktop will be back
With a Batch File

Since it would be cumbersome to manually change directories each time,
it would be very simple to create a two line batch file to do this automatically.
For the example it will be the C:\index.bat file

CD C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files\Content.IE5
Del index.dat

Open up a CMD window to the C:\ directory
Start the Task Manager (Ctrl-Shift-Esc)
Click on the Processes tab
Select EXPLORER.EXE and click on End Process
Run INDEX.BAT
Go back to the Task Manager
Do File / Run / Explorer and the desktop will be back
Once you learn how do this, it only takes about 30 seconds to delete the file.
 
Dont do it manually if you can help it, there are a mass of index.dat files around the OS so you will want to get a hand.

Take a look at "Spider"

http://www.webattack.com/get/spider.shtml

Also killing explorer may not unlock the file in all cases, some index.dat files become locked by other procesess.

I highly rate spider for this task so give it a look :)
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back