Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Greetings,
Right click temporary internet files folder/properties/
Reveals: several folders and many files for a total of 49 mb of space
I would like to come up with a bat file that I can use periodically to empty the temporary internet files folder.
I have searched around and found a few and have not had any success.
As a sidebar, I did come up with one to empty the windows recent folder
Specifically, "deltree /y C:\WINDOWS\Recent\" in a text file and then renamed to .bat and then shortcut and then "close on exit" in properties of shortcut.
-saves a couple mouse clicks as opposed to start/settings/taskbar/start menu/clear/ok
But I digress..
In conclusion
bat file
deletion of temporary Internet Files Folder

see these posts
shttp://computing.net/windows95/wwwboard/forum/63127.html and
http://computing.net/windows95/wwwboard/forum/63237.html

I use xmsdsk.exe to create a 36mb RAM disk. xmsdsk is nice because it lets you pick your drive letter, it runs from the autoexec.bat file or a DOS prompt, and works with Win9x or WinME. I have Netscape and IE5 both set to use the RAM disk as the internet file cache. That way, when my computer is turned off, all those files just disappear.
You can get xmsdsk from my Yahoo briefcase:
http://briefcase.yahoo.com/prestonlewis

Thanks to everyone, researching those made for some interesting reading.
Ok, here is what I did:
downloaded the two files bigboy pointed to,
opened the clean9x bat and looked for temp wording copied out what appeared to match my system,
pasted the following line to the bat file I already had (the one that clears the documents list)-
if exist %winbootdir%\tempor~1\*.* deltree /y %winbootdir%\tempor~1\
Worked perfectly!I opened the bat file directly to see what it was going to say, listed several files that were being deleted, one was a bit risque in nature. I now have 47 million more bytes of space, can't beat that.
Thanks, bigboy. You hit the nail on the head, or for non Americans - your suggestion was perfectly the answer to my question.

![]() |
trouble with WinAmp
|
Explorer and Netscape Fre...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |