Hi,Tony. As I am also a "keep it simple" guy, I decided to go for your solution initially and I happily confirm that it was successful and the Content IE5 element of my Index.dat entries now disappear on boot-up.
That's good to hear. ![:)]()
According to my old SPIDER index.dat cleaner I also have index.dat files at :------C:\WINDOWS\Cookies\index.dat -----
C:\WINDOWS\History\History.IE5\index.dat-----
C:\WINDOWS\History\History.IE5\MSHist012006052720060528\index.dat------ and the scan duly records entries under those each of those headings. I can locate the Cookies ID file but I've never been able to locate the two History.IE5 ID files. !! Can you advise me what lines I should put into my autoexec.bat to zap these other index.dat files at boot-up,please. ?
Here you go; in fact, in the Autoexec.bat, delete the "Deltree /Y C:\Windows\Tempor~1" line I frst gave you, and replace it by adding the folllwing three lines under the 'smartdrv' line:
DELTREE /y c:\windows\tempor~1\*.* > NUL
DELTREE /y c:\windows\history\*.* > NUL
DELTREE /y c:\windows\cookies\*.* > NUL
It's just a tad more 'elegant', and achieves the same thing.
Now the contents of your History, TIF, AND Cookies folders will be deleted on boot, and a spanking new index.dat file will be created in each.
BTW, all this happens because Windows stores the location of these and other per-user special folders under the following registry keys:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
... and it consults those keys at boot, making sure those shell folders exist. If not, it will create them
Can you also tell me if the "Overwrite" exercise I've been attempting would be any more effective than this autoexec method, as I was told that it would actually "kill-off" the ID entries at birth so there would never be any on your PC, even between boots. ?
It's a nice excercise in batch file writing, but, no not really. A brand new index.dat file contains no user data, so if you do it 'my' way that's absolutely sufficient.