deleting temp internet files and cookies

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

LRibnick

Thread Starter
Joined
Dec 4, 2001
Messages
1
How can I set up Windows98 to automatically delete temporary internet files and cookies as a scheduled task? I don't know how to program using DOS.
 

TonyKlein

Malware Specialist
Joined
Aug 26, 2001
Messages
10,392
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
Smartdrv
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,
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top