Deleting all cookies on browser exit

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
 
T

Ted Zieglar

IE does not have this option, but there must be thousands of programs on
the web that do this, many of them free.
 
G

Gary Smith

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Cookies 5
cookies disabled NOT 2
Deleting selected cookies 3
Deleting Cookies 2
Cookies Settings - Re-enable 6
Deleting Cookies in IE6 6
IE not clearing cache on exit 1
Not Accepting cookies. 3

Top