Tech Support Guy banner
  • Please post in our Community Feedback thread for help with the new forum software! If you are having trouble logging in, please Contact Us for assistance.
Not open for further replies.
1 - 4 of 4 Posts

10,392 Posts
You can put a couple of lines in your autoexec.bat.

Let's suppose your Cookies folder is C:\Windows\Cookies, and your TIF folder is C:\Windows\Temporary Internet Files.

Then do this:

Go to Start/run and type notepad /autoexec.bat (there's a space after 'Notepad'!)

Your Autoexec.bat will now open in Notepad.

Insert the following lines just before the last one:

@Echo Off
Deltree /Y C:\Windows\Tempor~1\*.* > Nul
Deltree /Y C:\Windows\Cookies\*.* > Nul

Save in 'File'

Now every time you start Windows these folders will be thorougly emptied.

If the path to the two folders is different on your system, it has to be adapted in the batch file.

Good luck,
1 - 4 of 4 Posts
Not open for further replies.