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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot delete IE5 history? 1

Status
Not open for further replies.

DoctorFrag

Technical User
May 18, 2001
17
GB
I use Windows 98, and I cannot delete IE history. I've also got TweakUI installed to delete history at logon, however restarting the computer, hitting 'delete' history does not make any difference...any ideas? .My privacy is very important.

Thanks

Joe
 
You can do this manually. Just delete files in the Cookies folder, the History Folder, and the TemporaryInternetFiles folder. Kind of a pain, but it works.
 
Thanks, Presumably I have to close IE down first to do this?

Joe
 
You could add the following to your autoexec.bat and it will do it all automatically upon every startup.
(Note, you do not have to recreate the temporary internet files folder, IE will do that automatically.)
(Note #2, if you are using Netscape, this won't work for the temporary files, as Netscape caches them elsewhere.)

@echo off
cd windows
deltree cookies /y
md cookies
deltree tempor~1 /y
deltree history /y
md history
Cheers,
Jim
iamcan.gif
 
Thanks,

that is superb. You mean the autoexec dos file?, I just right it in just the same as you have typed after the

@echo off

is that ok?

Thanks again
Joe
 
No, I mean Autoexec.bat file.

REM-----start cut here-------
@echo off
cd windows
deltree cookies /y
md cookies
deltree tempor~1 /y
deltree history /y
md history
REM------end cut here-------

Just cut and paste it in.
If you're unsure, and you want some user input for this, the whole thing can be written like this:

@echo off
cd windows
ECHO Now deleting the cookies
PAUSE
deltree cookies /y
ECHO Now remaking the cookies folder
PAUSE
md cookies
ECHO Now deleteing temporary internet files
PAUSE
deltree tempor~1 /y
ECHO Now deleting the history folder
PAUSE
deltree history /y
ECHO Now remaking the history folder
PAUSE
md history

That way you'll have to hit ENTER wherever you have the PAUSE, or you have the option to hit CTRL+C to abort the process. Cheers,
Jim
iamcan.gif
 
Thanks again, I've found the autoexec.bat file, and able to edit it.

thanks for taking the time, I've voted you for tipmaster!!

Joe
 
I'M GETTING ERROR WHEN I DELETE ANYTHING IN WINDOWS-ME
"CANNOT DELETE SOURCE FILE MAYBE IN USE"
 
I tried your autoexec.bat script idea, but everytime on boot before Windows98 starts, DOS prompts me if I want to delete the directories or not, - even with the /y switches.
Any way to stop the prompting and actually hidding whats going on, - tried @ECHO OFF

I wish to do the below automatically
without having to press y each time
and displaying any info on the progress
before Windows98 starts.

Code:
@ECHO OFF
@DELTREE C:\WINDOWS\COOKIES /y
@DELTREE C:\WINDOWS\HISTORY /y
@DELTREE C:\WINDOWS\TEMPOR~1 /y

Tried without the @ characters aswell.

Thank you.
 
I have Windows 98 first edition and it won't let me delete the History folder. I even try it manually, and it just makes a noise, but when i go back into the history folder the files are still there !
 
Joe,

Here's an alternative thatwill allow you to see ALL those hidden files

There's only one way to remove the history and TIF files. You need to go to DOS to do it. This is why I keep an old program from DOS 6.0. It's called Dosshell. It is very easy to navigate, just like Explorer. You can even drag and drop files if you've set up your mouse correctly to work in DOS. You'll need to navigate to c:\windows\history
and c:\windows\tempor~1 and to all the subfolder below these.

This is why it can only be done with Dosshell. Even though the extra directories appear in DOS, you'll never see them in Windows. There could be 6 or 8 folders under the history and Temporary Internet Files folder itself. You'd never find them in regular DOS, beacause how are you going to guess names such as the ones under Temporary Internet Files. You have to delete every file (and you'll find more than 2, I'm sure)called index.dat to totally remove these entries.

You can download dosshell here:

reghakr
 
I did it
I did it all that you say
And my PC don't set some cookies
(Those that I choose to be not allowed)

how can I let all system like new without unistall IE5.0?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top