Index.dat

  • Thread starter Thread starter jimpgh2002
  • Start date Start date
J

jimpgh2002

Does anyone know of any freeware to delete or at least clear the
index.dat files under Windows XP?
 
jimpgh2002 said:
Does anyone know of any freeware to delete or at least clear the
index.dat files under Windows XP?

Start | Search | For files or folders

Enter index.dat in the search box then do what you want with them. If
you know what you are doing.
 
Terry said:
Start | Search | For files or folders

Enter index.dat in the search box then do what you want with them. If
you know what you are doing.

Can't delete it in WinXP as the file is in use. Can't delete it in DOS if
you use NTFS.

I use the cleanxp.bat from the Langa List.
http://www.langa.com/newsletters/2002/2002-04-04
All files were unziped into C:\CleanXP folder.
You will have to modify the .bat file for your personal use.

I also use a .reg file to add it to the RunOnce registry key.
Use Notepad and copy-n-paste the following
=== begin copy-n-paste below =======
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
"CleanXP"="C:\\CleanXP\\Cleanxp\\cleanxp.bat"
=== end ========

Save as CleanXP.reg and then merge into registry.
 
jimpgh2002 said:
Does anyone know of any freeware to delete or at least clear the
index.dat files under Windows XP?

RegSeeker can do this and much more. By clicking on *Histories...* then *IE
Hist. Cache Cookies (Index.dat)* you will be able to clear your browser of
all the sites you have visited, you can also delete all cookies or configure
which cookies to keep.

There is no installation required, just unzip the file to a directory and
create a shortcut on your desktop. Just delete the folder to uninstall.

RegSeeker was voted Pricelessware
http://www.pricelessware.org/2003/PL2003SYSTEMUTILITIES.htm#R118 by this
group last year. You can also find it's home page here
http://www.hoverdesk.net/freeware.htm .
 
while surging the Net
YK said:
Terry said:
Start | Search | For files or folders

Enter index.dat in the search box then do what you want with them. If
you know what you are doing.

Can't delete it in WinXP as the file is in use. Can't delete it in
DOS if you use NTFS.

I use the cleanxp.bat from the Langa List.
http://www.langa.com/newsletters/2002/2002-04-04
All files were unziped into C:\CleanXP folder.
You will have to modify the .bat file for your personal use.

I also use a .reg file to add it to the RunOnce registry key.
Use Notepad and copy-n-paste the following
=== begin copy-n-paste below =======
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
"CleanXP"="C:\\CleanXP\\Cleanxp\\cleanxp.bat"
=== end ========

Save as CleanXP.reg and then merge into registry.

I create ramdisk and put the index.dat there. When I shut down my system, the file is gone and recreated when I turn on the system. TIF and History goes into the ramdisk as well
 
jimpgh2002 said:
Does anyone know of any freeware to delete or at least clear the
index.dat files under Windows XP?

I contacted the author of "Empty Temp Folders":

http://danish-shareware.dk/soft/emptemp/

and suggested that he might want to add that ability to his program.
Not sure if he already had done so to his beta, but he sent me a copy
of it and it has that feature. I've been using it to delete the
index.dat files occasionally for several weeks now and it did work
fine, however be careful what you wish for. A couple of days ago, I
deleted all the index.dat files and they haven't come back since.
Doesn't seem to hurt anything.......yet.
 
I contacted the author of "Empty Temp Folders":

http://danish-shareware.dk/soft/emptemp/

and suggested that he might want to add that ability to his program.
Not sure if he already had done so to his beta, but he sent me a copy
of it and it has that feature. I've been using it to delete the
index.dat files occasionally for several weeks now and it did work
fine, however be careful what you wish for. A couple of days ago, I
deleted all the index.dat files and they haven't come back since.
Doesn't seem to hurt anything.......yet.

How you do dat den????
I've been using "EmpTemp" for quite awhile now, and have it set to
empty my temp, windows cookies, windows history, windows recent,
windows temp windows temporary internet files and Mozilla Browser
cache (I don't use IE full stop)
Cookies has an index.dat folder of 32kb that won't budge
Temporary Internet has an index.dat folder of 32kb that won't budge,
and History has an index.dat of 16kb.
Must add that is version 2.83, the site threatens a 2.9 version around
summertime.
Doesn't say whos, so it could be our Australian Summer :-)

Regards
Ranrad
 
Ranrad said:
How you do dat den????
I've been using "EmpTemp" for quite awhile now, and have it set to
empty my temp, windows cookies, windows history, windows recent,
windows temp windows temporary internet files and Mozilla Browser
cache (I don't use IE full stop)
Cookies has an index.dat folder of 32kb that won't budge
Temporary Internet has an index.dat folder of 32kb that won't budge,
and History has an index.dat of 16kb.
Must add that is version 2.83, the site threatens a 2.9 version around
summertime.
Doesn't say whos, so it could be our Australian Summer :-)

The beta I was sent creates a batch file that does the job when you
reboot, then the program deletes the batch file. Anyway, my bad- I was
wrong. The index.dat files WERE being recreated (in a fresh form,
without the new encrypted surfing data.) I had forgotten to press the
"Search" button on the "Index.dat" tab. Before, the beta Empty Temp
Folders program was refreshing the list of index.dat files by itself,
but then a couple of days ago it started requiring me to press that
button. But it does work very well, and in fact I don't see any bugs
in the beta at all. The author has, however, added an Opera tab and I
don't use Opera. I'd like to see him make it possible to control which
tabs are displayed in the program.
 
Taf® said:
I use an XP "trick"
when you have two profiles on xp with admin rights, you can alternatively
clean index.dat files ====>>>>> "in the profile not logged."!
Fast and Quite easy!
But it exist in the profile in use, does it not?
 
Does anyone know of any freeware to delete or at least clear the
index.dat files under Windows XP?

ON ERROR GOTO ErrGoto

j% = 0 ' binary zero
k% = FREEFILE ' filehandle
n$ = "INDEX.DAT" ' filename

OPEN n$ FOR INPUT AS k%
CLOSE k%

OPEN n$ FOR BINARY AS k% LEN = 1
PRINT n$; " len="; LOF(k%)
FOR i& = 1 TO LOF(k%) - 1 ' file position
PUT k%, i&, j%
NEXT i&
CLOSE k%
SYSTEM

ErrGoto:
PRINT n$; " not found"
SYSTEM

You can run the above in the same directory as the Index.Dat with
QBasic... Enjoy!

Rick.
 
sylly718 said:
How do I create a ramdisk and put index.dat or anything else in
there? TIA

I use Win2K not XP but the process should be the same

download a ramdisk driver for your OS
http://arsoft-online.com/products/product.php?id=1

then I edit the registry to find every instance of

%USERPROFILE%\Local Settings\Temporary Internet Files
%USERPROFILE%\Cookies
%USERPROFILE%\Local Settings\History

then changed them to
Z:\Documents and Settings\Brady\Local Settings\Temporary Internet
Files
Z:\Documents and Settings\Brady\Cookies
Z:\Documents and Settings\Brady\Local Settings\History

note when editing the registry make a backup first as if you make a
mistake your computer may not work right.
 
I use Win2K not XP but the process should be the same

download a ramdisk driver for your OS
http://arsoft-online.com/products/product.php?id=1

then I edit the registry to find every instance of

%USERPROFILE%\Local Settings\Temporary Internet Files
%USERPROFILE%\Cookies
%USERPROFILE%\Local Settings\History

then changed them to
Z:\Documents and Settings\Brady\Local Settings\Temporary Internet
Files
Z:\Documents and Settings\Brady\Cookies
Z:\Documents and Settings\Brady\Local Settings\History

note when editing the registry make a backup first as if you make a
mistake your computer may not work right.

If it's not 2000 but XP (or 9x) you might want to download Regseek (
http://www.tafweb.com/regseek.html ) which for me has made this kind
of thing a lot easier. It lets you search and replace on registry
values all in one go. Theres also the copy path to clipboard shell
extension ( http://home.worldonline.dk/ninotech/freeutil.htm ) which
*would* be useful if it was possible to locate the index.dat files in
explorer in a straightforward way, but, as you might know.. you have
to supply the whole path as a parameter to it and then have all the
right file options to display the files..etc etc etc ! It's better
just to open a dos box to get the paths and then use the buttons to
copy and paste text (or get a different file manager to explorer,) but
I imagine they will be:

c:\windows\Temporary Internet Files\Content.IE5\index.dat
c:\windows\Cookies\index.dat
c:\windows\History\index.dat

...or something very similar.. :o) but only when you are using Windows
95, 98 or ME. I'm sorry I missed the original post but as Brady says
if it's XP or 2000 then there are those Local settings folders and
that may also be the case if there are user profiles, which my
understanding of means when there are 1 or more different log on
identities to windows. There is a quick way which I use and that is by
using a small utility called openlist ( Filemon might work too) from
sysinternals - I can't find it on the site at the moment (
http://www.sysinternals.com/index.shtml ), however openlist for
win9x/XP(?) can be downloaded here:
http://binaries.it-faq.pl/windows/tools/sysinternals/openlist.zip ).

Predictably, openlist shows you a list of all files that are, open (!)
and it shows you other things like if it's read only (locked). If it's
Win2000 or XP you might want to use FileMon instead, you could use
this with a filter and it will cut down the amount which it displays
and for anyone who's not used it that is a lot, since it displays
every file each and every time it is accessed. Anyway, that will for
definate show you where the index.dat for the cache is located.

So for each of the paths, you search and replace on each of those not
including the "\index.dat" part of it, by whatever means.

Theres a few more little things to consider when doing anything like
this, and it was a long way back when I set up my system to do it so I
might have forgotten some. My way to do it (with win98) was to load
XMSDSK from the autoexec.bat file before windows loads, there was a
few lines after loading the ramdisk which i think used either XXCOPY
to copy some folders and files over to the new ramdisk, or it might
have been Infozip unzip for dos, or pkunzip or something but anyway,
it had the same effect. The reason for that was some windows programs
arn't so "forgiving" (if you like) of whole bits of the file system
being missing before they are used. As it happens IE5/6 is ok about it
as far as I know, it just recreates the folders and the index.dat
file, I'm just saying for other browsers they might not behave in the
same way. ;o) They may do something like use the original default
settings so the ramdisk ends up unusued, whatever. The other thing is
setting the upper limit size of the cache so it doesn't exceed the
amount of space you have allocated...

XMSDSK is a dos replacement for microsofts ramdisk and is recognised
as a drive in windows when it's used, I've not got XP/2000 and as far
as I know you wouldn't be able to load things "in order" in this way
with those before windows loads up... in order to copy files over.
(It's obvious but easy to forget the fact that *all* the files and
folders dissapear each time the computer is turned off :p) The ramdisk
utility that Brady pointed is for Win2000/XP and loads just as windows
is starting... If someone knows a 32bit Win9x/ME ramdisk *which is
freeware* (I have seen a shareware one :p) then I'd like to know about
it. ;o) If you used a utility in windows to copy files across just as
windows starts (such as the 32bit XXCOPY) you might want to consider
forcing it to start after a small delay just to ensure it doesn't
start before the ramdisk is fully loaded up, unlikely I know... but
these things happen.. I use a program called Batchrun for this, all my
startup group items are loaded in the sequence I choose from it. (
http://www.outertech.com/ )

I think nearly all the information you will need will be there, if you
need any more help let us know as I have actually done this..just not
in the "best way" perhaps ! If you want to write the step-by-step for
it be my guest. ;oD ...I had a system where I could choose to copy
various files to restore or not before windows shut down by way of an
icon in the system tray, worked quite well.. then the hard drive blew,
so now I think it's better to think in terms of different prioritys
before these speed and privacy issues ! How many people *really* care
what's in your cache anyway ? Just use Phoenix or Opera and forget all
this index.dat business ? :o)
 
Back
Top