Is there a way to clear what is in index.dat?
Results 1 to 9 of 9

Thread: Is there a way to clear what is in index.dat?

  1. #1
    Registered User
    Join Date
    Jul 2001
    Posts
    41

    Question Is there a way to clear what is in index.dat?

    I know that the file could never be deleted but I was told there was a way to clear what was inside it.

    thanks.

  2. #2
    Registered User
    Join Date
    Aug 2000
    Location
    Saltburn, Cleveland, United Kingdom
    Posts
    632
    I think I know just enough to know how much I don't know... I think...

  3. #3
    Registered User
    Join Date
    Jan 2001
    Posts
    339
    Quote Originally Posted by cable
    I know that the file could never be deleted but I was told there was a way to clear what was inside it.

    thanks.
    This is how I do it with ME: I created this batch file:

    @echo off
    edit c:\windows\cookies\index.dat
    edit c:\windows\history\history.ie5\index.dat
    edit c:\windows\tempor~1\content.ie5\index.dat

    I use startup disk and I boot to DOS. Minumum options is sufficient. Then I run the batch file.

    When the first file open, I select all, then delete, then save and exit. The next file opens, I repeat the same, and again with the third file. When I am done, I am back to DOS. Reboot with Windows.

  4. #4
    Registered User Gabriel's Avatar
    Join Date
    Aug 2000
    Location
    Tel Aviv Israel
    Posts
    2,161
    Quote Originally Posted by Votan
    ...I select all, then delete, then save and exit. The next file opens, I repeat the same, and again with the third file. When I am done, I am back to DOS. Reboot with Windows.


    Why not using like this
    copy nothing.txt c:\windows\cookies\index.dat
    copy nothing.txt c:\windows\history\history.ie5\index.dat
    copy nothing.txt c:\windows\tempor~1\content.ie5\index.dat

    * Nothing.txt is just a file with nothing in it...

    It's Just a thought - only a thought...
    Gabriel
    Real stupidity beats Artifical Intelligence
    Avatar courtesy of A D E P T

  5. #5
    Registered User
    Join Date
    Jan 2001
    Posts
    339
    Quote Originally Posted by Gabriel
    Why not using like this
    copy nothing.txt c:\windows\cookies\index.dat
    copy nothing.txt c:\windows\history\history.ie5\index.dat
    copy nothing.txt c:\windows\tempor~1\content.ie5\index.dat

    * Nothing.txt is just a file with nothing in it...

    It's Just a thought - only a thought...
    Gabriel
    Good idea.

  6. #6
    Registered User
    Join Date
    Jan 2001
    Posts
    339
    Quote Originally Posted by Gabriel
    Why not using like this
    copy nothing.txt c:\windows\cookies\index.dat
    copy nothing.txt c:\windows\history\history.ie5\index.dat
    copy nothing.txt c:\windows\tempor~1\content.ie5\index.dat

    * Nothing.txt is just a file with nothing in it...

    It's Just a thought - only a thought...
    Gabriel
    At first I thought your recipe is a good idea. Well it turned out sort of. The effect of COPY is to delete the index files whether the file to copy is .txt or .dat it makes no difference. I modified my clear.bat file to del instead of edit. After deleting I reboot, windows creates fresh index.dat file.

    .

  7. #7
    Registered User Gabriel's Avatar
    Join Date
    Aug 2000
    Location
    Tel Aviv Israel
    Posts
    2,161
    Quote Originally Posted by Votan
    ...I modified my clear.bat file to del instead of edit. After deleting I reboot, windows creates fresh index.dat file.
    .
    Thats even better

    Gabriel
    Real stupidity beats Artifical Intelligence
    Avatar courtesy of A D E P T

  8. #8
    Registered User NEPATEC's Avatar
    Join Date
    Sep 2002
    Location
    Northeastern Pennsylvania
    Posts
    77

    Lightbulb Better Mousetrap

    Another (and much more permanent) way to accomplish this is to do a search for all index.dat -and- msimgsiz.dat files on the drive, write down the path to each location, then shut down Windows, boot up from a floppy & delete each instance of these files. Then, from DOS, create a new directory named "index.dat" and "msimgsiz.dat" in the locations where these files once resided.

    for example:

    MD INDEX.DAT <Enter>
    MD MSIMGSIZ.DAT <Enter>

    Since you cannot have two files (or a file and a directory) of the same name in the same parent directory, Windows will not be able to re-create these files upon the next boot. Pop the diskette out of your floppy drive, restart the computer, and then boot to Windows and re-initiate a search for index.dat -and- msimgsiz.dat.

    If you performed the above steps correctly, you will note that you now have directories named "index.dat" and "msimgsiz.dat" everywhere you used to have files of that name. Set the attributes for all instances of these new directories to +H +R.

    This will effectively cover your tracks, since IE and/or Windows cannot write to these 'files' anymore.

    -mike
    Last edited by NEPATEC; March 16th, 2004 at 12:39 AM.

  9. #9
    Registered User
    Join Date
    Aug 2002
    Location
    Colorado
    Posts
    26
    Votan - Don't give up. If you make a 32k file of zeros and copy that over the top of Cookies\index.dat file at bootup Windows will adopt it rather than just recreate a new index.dat file which BTW is made up from your old index.dat file complete with partial urls. Adopted blank index.dat is of course blank with NO url strings contained there in. Copy index.dat to a new location in Windows to use a hex editor on it to confirm this. This all doesn't work well when you have cookies in the Cookies folder and just replace index.dat, so I deltree the folder and make a new Cookies folder then copy the blank index.dat file there.

Similar Threads

  1. Canon S600, Win XP, spool doesn't clear after printing
    By David Christopher in forum Digital Imaging
    Replies: 5
    Last Post: February 5th, 2002, 09:22 PM
  2. How do I clear my registry?
    By Homicide00 in forum BIOS/Motherboard Drivers
    Replies: 5
    Last Post: January 10th, 2002, 08:16 AM
  3. [RESOLVED] index.dat
    By czDrillard in forum Windows 95/98/98SE/ME
    Replies: 8
    Last Post: October 24th, 2001, 11:35 PM
  4. zeos clear password
    By elacious in forum BIOS/Motherboard Drivers
    Replies: 2
    Last Post: March 15th, 2001, 07:29 AM
  5. clear cmos
    By TRICKPLAYER in forum BIOS/Motherboard Drivers
    Replies: 2
    Last Post: March 11th, 2000, 03:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •