Main Site Nav
Topics Topics Edit Profile Profile Help/Instructions Help    
Search Last 1|3|7 Days Search Search Tree View Tree View  

Question about setting index.dat's to...

Trish's Escape from Hardware Hell Help Board » Tech Tips and Tweaks » Question about setting index.dat's to 0 bytes and making them 'read only' « Previous Next »

Author Message
Jack Sutter
Posted on Monday, February 3, 2003 - 2:12 pm:   

I saw this tip (please see below) on this website, and it made a lot of sense, so I tried it out on my Win 2K box.

Whenever I try to copy one index.dat over another within the Cmd box, however, I get the same error: "The syntax of the command is incorrect." Well, I tried reworking the syntax every way I knew how (within DOS rules), but nada. I even tried running it as a logoff/shutdown script from the group policy editor, but when the box rebooted, all my index.dat's were the same size as they had been before.

I was wondering if anyone knew how to overwrite the index.dat's with other, home-made index.dat's.


rem making index.dat files (cache of cookies, history, temp internet files) 0 bytes
rem to prevent growing in size and invasion of privacy. Need to do this ONLY ONCE.
rem logoff and under the Administrator account create a text file
rem in c:\ called index.dat and right click | properties and make it READ-ONLY
rem Copy and then paste by right clicking in command prompt the following lines (exclude rem)
rem copy c:\index.dat c:\winnt\cookies\index.dat
rem copy c:\index.dat c:\winnt\tempor~1\content.ie5\index.dat
rem copy c:\index.dat c:\winnt\history\history.ie5\index.dat
rem c: cd c:\docume~1\yourusername
rem copy c:\index.dat cookies\index.dat
rem copy c:\index.dat locals~1\tempor~1\content.ie5\index.dat
rem copy c:\index.dat locals~1\history\history.ie5\index.dat
Posted on Wednesday, February 5, 2003 - 7:51 pm:   

The paths are wrong on most of the entries. Some of the directories have more than eight characters. Dos only uses 8 characters or less for files or directories. Example: c:\winnt\tempor~1\content.ie5\index.dat should be c:\winnt\temporary internet files\content.ie5\index.dat
Check all the entries and make sure the ~ is not in the path.
Also you could bring up 2 explorers and use drag and drop to replace the index.dat file. Just use each entry as a guide to every index.dat file.

Add Your Message Here
Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Options: Enable HTML code in message
Automatically activate URLs in message

Administration Administration Log Out Log Out   Previous Page Previous Page Next Page Next Page