Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Temporary Internet Files not Rebuilding INDEX.DAT ?

Status
Not open for further replies.

DRAMO4298

Technical User
Nov 23, 2001
85
US
Hello: This thread is a continuation of (Thread615-390655) subject = "Correct DEL Syntax in Autoexec.bat to bypass Confirmation ?"

Facts:
After using autoexec.bat to delete "Temporary Internet Files" and having trouble . . . I deleted "Temporary Internet Files" (folder) from C:\WINDOWS and copied it back from a CDR disk containing a backup of C:\WINDOWS.

After copying it back - I had to change the "INDEX.DAT" attribute from READ-ONLY to ARCHIVE.

Now, all my COOKIES do NOT appear in "Temporary Internet Files" . . . nor is the "INDEX.DAT" file ( rebuilt ) after I deleted all the files in this folder using autoexec.bat upon startup.


TEMPORARY INTERNET FILES (presently - from CDR backup):

C:\Windows\Tempor~1>DIR
CONTENT.IE5 <DIR>
desktop.ini 67 bytes (attrib.= H S)

C:\Windows\Tempor~1\Content.IE5>DIR
5u969ysf <DIR>
ighr1nij <DIR>
k1q38dun <DIR>
y5r1eis2 <DIR>
desktop.ini 67 bytes (attrib.= H A)
index.dat 688,128 bytes (attrib.= A)

NOTE: Each of the 4 above <DIR> in CONTENT.IE5 contain just the one file . . . DESKTOP.INI 67 bytes (attrib.= H A)

ALL &quot;desktop.ini&quot; files are the same except for ATTRIBUTES.
[.ShellClassInfo]
UICLSID={7BD29E00-76C1-11CF-9DD0-00A0C9034933}


LINES added to AUTOEXEC.BAT to cleanup Internet Files:

deltree /y c:\windows\shelli~1 > NUL
deltree /y c:\windows\cookies*.* > NUL
deltree /y c:\windows\history\index.dat > NUL
deltree /y c:\windows\history\history.ie5\index.dat > NUL
deltree /y c:\windows\history\history.ie5\desktop.ini > NUL
deltree /y c:\windows\history\history.ie5\mshist~1\index.dat > NUL
if exist DEL c:\windows\ff*.tmp
if exist DEL c:\windows\system\advert.dll
deltree /y c:\windows\tempor~1\content.ie5\index.dat > NUL
del c:\windows\tempor~1\?*.*
del c:\windows\tempor~1\content.ie5\5u969ysf\?*.*
del c:\windows\tempor~1\content.ie5\ighr1nij\?*.*
del c:\windows\tempor~1\content.ie5\k1q38dun\?*.*
del c:\windows\tempor~1\content.ie5\y5r1eis2\?*.*


CONFUSION:
1) Is there supposed to be a &quot;desktop.ini&quot; in those 4 directories of C:\windows\tempor~1\content.ie5 ???

2) Should ALL &quot;desktop.ini&quot; attributes be the SAME, ie., &quot;hidden, system&quot; ???

3) Should the &quot;INDEX.DAT&quot; file in c:\windows\tempor~1\content.ie5 (folder) be so large, ie., 688,128 bytes ???

4) Why doesn't EXPLORER &quot;rebuild&quot; INDEX.DAT after I delete it ???

5) Why aren't C:\windows\COOKIES showing up in c:\windows\temporary internet files . . . anymore ???

CAN ANYBODY HELP WITH ALL THIS CONFUSION?

Thank you.
 
PROBLEM SOLVED:

Upgrading Internet Explorer from 4.0 to 5.5 placed the &quot;Temporary Internet Files&quot; (folder) into C:\WINDOWS\LOCAL SETTINGS.

I totally removed &quot;Temporary Internet Files&quot; (folder) from C:\WINDOWS.

Everything is now doing what I desired by changing/adding these lines (instead of the lines previously mentioned in this post) to the autoexec.bat file . . .

deltree /y c:\windows\cookies\*.* > NUL
deltree /y c:\windows\history\history.ie5\index.dat > NUL
deltree /y c:\windows\history\history.ie5\mshist~1\index.dat > NUL
deltree /y c:\windows\LOCALS~1\tempor~1 > NUL


Now everything is deleted whenever I startup the computer and the &quot;Temporary Internet Files&quot; folder is recreated by WINDOWS (along with the INDEX.DAT and DESKTOP.INI files) after bootup.

Of course, these DELETIONS are only removed from visible sight (should the BOSS take a quick view of where you have been SURFING using his machine) and can still be found by some (IT ENGINEER ??) using &quot;undelete&quot; programs . . . or by checking the REGISTRY somewhere.


I guess I would need to incorporate an &quot;ERASER-type&quot; program into autoexec.bat in order to completely delete these INTERNET SITES from the computer - but I think this will &quot;SLOW-DOWN&quot; the bootup process too-much.

That's my NEXT project to try and test-out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top