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

clean cookies of all users with BAT file

Status
Not open for further replies.

guif

Programmer
Sep 6, 2007
27
ES
I have this code:

del "C:\Documents and Settings\%username%\cookies\"*.* /S /Q /F
for /D %%a in ("C:\Documents and Settings\%username%\cookies\"*.*) do rmdir "%%a" /S /Q


I would like to clean the cookies of all users. HOW??????
 
First you need to let us know what os your using...
second you can go to internet options and block all
cookies...
options>privacy>advanced> override auto
block 1st party and 3rd party cookies...

third i think your quotes are in the wrong place.. try this.
del "C:\Documents and Settings\%username%\cookies\*.*" /S /Q /F

hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top