Deleting all cookies on browser exit

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there an option to force IE to delete all cookies when the browser exits
without having to go through the menu?

I have to set up an environment where the browser needs to run as if it were
running for the first time everytime. I thought about writing a little batch
file that will remove all files from Temporary Internet Files but it will not
remove anything in there because these files are hidden or system files or
something. I can't even get them to show up when accessing the dir through
the command prompt. Any help would be appreciated.

Environment: Windows XP Home
 
IE does not have this option, but there must be thousands of programs on
the web that do this, many of them free.
 
Cookies don't reside in the TIF folder, they're stored in \Documents and
Settings\{UserName}\Cookies. The following command can be used in a batch
file to delete them:

del "%userprofile%\Cookies\*.txt"

Try it first with "dir" instead of "del" so you can see what it's going to
do before you're committed to it.


Bach said:
Is there an option to force IE to delete all cookies when the browser exits
without having to go through the menu?
 
Back
Top