Batch file for clearing Netscape cache

Peter Farris pfarris at email.njin.net
Sun Feb 1 13:19:54 EST 1998


At 10:51 AM 1/31/98 -0800, you wrote:
>We are running Netscape 3.03 (soon to be Netscape 4) on our Windows 95
>machines and I would like to know if anyone has written a batch file to
>automatically clear the cache and temporary files each time the machine
>boots.

I use a simple batch file that is set up to clear the Netscape cache every
time Win95 boots up. Just place an alias of the file (I call it "Clear
Cache.bat") in the StartUp folder. The command is:

  deltree/y C:\Netscape\cache\

The deltree command removes the entire tree structure in the named folder.
Caveat: include the trailing slash, or the folder itself (in this case,
"cache") will also be removed. The deltree switch "/y" simply says, "don't
ask me if I want to perform this action." If you don't include /y, you'll
be prompted to let deltree do its work.

There are a free products for the Mac which do the same thing (apparently
using AppleScript). I use Cache Killer.



More information about the Web4lib mailing list