@echo off goto start ************************************************************** PRUNE-IT.BAT for Windows 95 By Al Fasoldt, January 28, 1997. Freely distributable. Comments: afasoldt@dreamscape.com ************************************************************** PRUNE-IT.BAT should be placed in the c:\windows\command folder. What it does: Kills .exe and .zip files from Internet Explorer 3.0 and 3.01 cache on bootup. How to run: 1. Run from the autoexec.bat by using the CALL command within the autoexec.bat (at or near the beginning of the batch file) using the following command line: call c:\windows\command\kilcache 2. Run by double-clicking on the icon for this batch file. Why it's needed: Internet Explorer saves all files that are picked up from Web pages by storing them in its cache. There is seldom any need to store a second copy of files you have downloaded, yet that is just what Internet Explorer does. If you regularly download large files, the cache will become bloated with these files. (They serve no purpose.) Cautions: 1. This batch file assumes that your Windows folder is c:\windows. If it has another pathname, edit this file apropriately. 2. This batch file assumes your cache is in the standard location. If you have never manually moved the cache through the Internet Explorer setup or through the Registry, the cache will be in the standard location. 3. The author is not responsible for anything that happens through the use or misuse of this program. It is given away without warranty. :start echo Killing executables and zips from cache... c: cd \ cd \windows\tempor~1 attrib -h cache1 attrib -h cache2 attrib -h cache3 attrib -h cache4 cd \windows\tempor~1\cache1 if exist *.zip del *.zip if exist *.exe del *.exe cd \windows\tempor~1\cache2 if exist *.zip del *.zip if exist *.exe del *.exe cd \windows\tempor~1\cache3 if exist *.zip del *.zip if exist *.exe del *.exe cd \windows\tempor~1\cache4 if exist *.zip del *.zip if exist *.exe del *.exe cd \ cd \windows\tempor~1 attrib +h cache1 attrib +h cache2 attrib +h cache3 attrib +h cache4 echo Cache executables deleted.