Computing.Net > Forums > Windows 95/98 > Simple way to be rid of index.dat files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Simple way to be rid of index.dat files

Reply to Message Icon

Name: Eric
Date: June 21, 2002 at 00:27:10 Pacific
Comment:

If you want a quick & easy way to keep your cookies, cache, & history files & those annoying MS index.dat files cleaned up here's a very simply way to do it. I created a RAMDrive using MS DOS RAMDrive.sys. Then I changed the pointers in the registery to point to the RAMDrive & saved cache, cookies, & history junk files there. Now everytime you reboot poof they are gone.

Click on Start...Run...sysedit
Select Config.sys

Copy & paste the following into your config.sys

DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.exe NOEMS
DOS=HIGH,UMB
DEVICEhigh=C:\WINDOWS\RAMdrive.sys 5120 /E

You can change the 5120 to what ever amount of RAM you want to steal. I have 320M RAM so I took 5M. Under Internet Options You could also lower Amount of disk space used for Temp Internet Files to 1 or 2M.

1024 1M RAM
2048 2M RAM
3072 3M RAM
4096 4M RAM
5120 5M RAM
6144 6M RAM
7168 7M RAM

Reboot before editing the registery so you can now see your RAMDrive:
Using regedit go to this Key & set the following:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

Cache "Enter RAMDrive Letter" ex: F:
Cookies "Enter RAMDrive Letter" ex: F:
History "Enter RAMDrive Letter" ex: F:

Hope this is helpful to someone.



Sponsored Link
Ads by Google

Response Number 1
Name: Ronnie Ratt
Date: June 21, 2002 at 01:16:11 Pacific
Reply:

G'day Eric, just curious, does any of the original cache folders come back at any point while surfing?

When I renamed and relocated these folders there were at least a dozen or so reg entries that HAD to be changed or else they came back. Also I had to 'cement' the changed locations in the file that creates them, namely, Wininet.dll. If I didn't I would somehow get the originals back, as well as the new folders, doubling the size of everything.

I also, just for the hell of it, renamed the *.dats [now *.rtt with own icon] and gave them a new extension. I did the same for the cookie files too [now *.mfx files with own icon], and their prefix [cookie:]. Spider.exe seems to get bamboozled trying to find any of these folders and files.

Your seems interesting, might try it one day.


0

Response Number 2
Name: Eric
Date: June 21, 2002 at 01:27:04 Pacific
Reply:

Hi Ronnie, I actually used System Mechanic to change the paths for the cookies, history etc & no it never recreated anything on my HD. When I run spider the only files it finds are on my RAMDrive. It actually works perfect. I don't have to run any apps to clean up that crap & there is no delay in loading my OS now where I used to have my autoexec cleaning those folders on bootup.

e.


0

Response Number 3
Name: RR
Date: June 21, 2002 at 01:48:26 Pacific
Reply:

good work Eric


0

Response Number 4
Name: Hack_Ace
Date: June 21, 2002 at 08:21:09 Pacific
Reply:

Good idea but I have a simpler one. Locate the index.dat files you want to delete but leave them where they are at. Next write a simple batch file (DELINDEX.BAT) that has:

del C:\windows\tempor~1\index.dat
del C:\windows\history\index.dat
(and so on)

to delete the index.dat files causing "problems". Then simply add the line:

CALL C:\WINDOWS\DELINDEX.BAT

to the AUTOEXEC.BAT file. This will delete the files at startup and Windows will recreate them as fresh when it restarts. If you are wanting to cover your tracks after you have shut down, simply tell the computer to shut down to DOS and type the name of the batch file.


0

Response Number 5
Name: Eric
Date: June 22, 2002 at 09:52:20 Pacific
Reply:

Yes Hack I used to have it setup like that too but if you had alot of temporary internet files, history and cookie files it sure slowed down the loading of Windows. And the temp files sure build up in a hurry. My way you never have to worry about them again & it doesn't cause file fragmintation & cross linked files & your hard drive from writting & deleting so often.

From both methods I personally prefer the RAMDrive if you have the RAM to spare. I am just giving other options to this problem.

e.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

Suwin gpf krnl386 2 CPU in 1 monitor...poss...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 95/98 Forum Home


Sponsored links

Ads by Google


Results for: Simple way to be rid of index.dat files

** Delete INDEX.DAT Files at Startup! www.computing.net/answers/windows-95/-delete-indexdat-files-at-startup/111809.html

Index.Dat file www.computing.net/answers/windows-95/indexdat-file/122395.html

Index.dat Gone Forever www.computing.net/answers/windows-95/indexdat-gone-forever/109272.html