With Win98, I created this batch program to trigger on every boot before
windows loaded:
rem This program copies clean dat files and Internet logs
copy c:\windows\copies\index.dat c:\windows\cookies
copy c:\windows\copies\index.dat c:\windows\locals~1\tempor~1\content.ie5
copy c:\windows\copies\index.dat c:\windows\history\history.ie5
copy c:\windows\copies\index.dat c:\windows\history\history.ie5\mshist~1
copy c:\windows\copies\index.dat c:\windows\tempor~1\content.ie5
copy c:\windows\copies\win386.swp c:\windows
copy c:\windows\copies\win386.swp c:\
@DelTree /Y C:\WINDOWS\Temp
@MD C:\Windows\Temp
The index.dat keeps track of all the sites you vist and never gets deleted.
Possible security risk. XP does not use autoexec.bat and config.sys, is
there another way to do this with XP? Thanks.