• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How to delete index.dat

Perris Calderon

Moderator
Staff member
Political User
#1
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.
 
#2
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 posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,015
Latest member
sanoravies