Deleting temporary Files

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.

Prof

Thread Starter
Joined
May 31, 2002
Messages
253
Is it a good idea to delete temporary files using the information below? Just wanted to check before using it, and others might find it useful. Many thanks!

"Removing Temporary Internet Files, History, Cookies and Temp Files :

What I do is I have these few lines of code in my Autoexec.bat file (this file is accessed during boot up) that automatically delete both these files when I turn the computer on. To use this method simply cut and paste this code into your Autoexec.bat file :

@ECHO OFF
IF EXIST C:\WINDOWS\SMARTDRV.EXE C:\WINDOWS\SMARTDRV.EXE 2048 16
IF EXIST C:\WINDOWS\TEMP\*.* DELTREE /Y C:\WINDOWS\TEMP\*.* > NUL
IF EXIST C:\WINDOWS\COOKIES\*.* DELTREE /Y C:\WINDOWS\COOKIES\*.* > NUL
IF EXIST C:\WINDOWS\RECENT\*.* DELTREE /Y C:\WINDOWS\RECENT\*.* > NUL
IF EXIST C:\WINDOWS\HISTORY\*.* DELTREE /Y C:\WINDOWS\HISTORY\*.* > NUL
IF EXIST C:\WINDOWS\TEMPOR~1\*.* DELTREE /Y C:\WINDOWS\TEMPOR~1\*.* > NUL


To edit your Autoexec.bat file to add this code go to Start/Find type Autoexec.bat in the search box and then right click on the file once it has been found and click on Edit. If you only want to delete these files every now and again remove the code after one full boot up and everything will return to normal when you reboot"
 
Joined
Aug 10, 2002
Messages
244
AMHA, it's not a good idea because your surf will be slower and all the sites you are visiting each day have to download on your PC all the gifs and jpegs which are the same as yesterday.
The cache has to be cleaned but certainly not at every boot.
My 2 cents.
 
Joined
Aug 10, 2002
Messages
1,060
Looks good to me! Good idea...and I might add a few other index.dat files to the list if it works well!:)



I tried this out and it doesn't work on my computer. :( I guess I will have to continue running a batch in safe mode with command prompt to delete such files.
 

JohnWill

Retired Moderator
Joined
Oct 19, 2002
Messages
106,429
Some of us have broadband, so a few graphic downloads aren't an issue. :D:D:D
 
Joined
Aug 10, 2002
Messages
244
Hi john, I do have broadband. The display within IE is (should be) faster and the Internet bandwidth is relieved, the webmaster of the site you visit will also thanks you. So everybody is happy. :D
There are millions of people surfing everyday. Can you imagine if everybody delete his cache everyday ? All that useless Internet traffic ? I have already seen people complain about the "slow Internet" but they clean their cache everyday. So they are partially responsible for this slowness. Just my 2 cents.

But you are right, with DSL/Cable it takes longer to search for a 1 KB file among thousand files on disk than download it from the site. So it's not necessary to clean the cache everyday, even for broadband users.
For performance reasons, you have to clean the TIF sometimes and also delete some locked files.
 
Joined
Aug 10, 2002
Messages
1,060
The real issue with Internet bandwidth are the spammers. But compare spammers to the RIAA. They both want your money so they aren't going to go away.
 
Joined
Sep 17, 2003
Messages
13
I don't know, the easyest way I've found to get rid of .tmp files, is to go to start/run/find and search *.tmp. Select all and delete. Only do it about once a week, depending on what kind of time i've spent on the comp or what new installs i've done, seems to be enough.
 

flavallee

Frank
Trusted Advisor
Joined
May 12, 2002
Messages
83,262
PumpTech:

Besides deleting everything under:

*.TMP

Don't forget:

C:\TEMP\*.* (If this folder is present)

C:\WINDOWS\TEMP\*.*

And I always recommend rebooting your computer first, just to make sure that none of your temp files are in use.


Frank's Windows 95/98 Tips
 

Prof

Thread Starter
Joined
May 31, 2002
Messages
253
Is it safe to delete all the temp files in C:\WINDOWS\TEMP*.* ?
Thanks
 
Joined
Mar 14, 2003
Messages
435
I picked these up somewhere. They may be the same as you others have mentioned:

*.tmp,~*.*,*.chk

%temp%

delete all files found.
 

Prof

Thread Starter
Joined
May 31, 2002
Messages
253
Your welcome panzer999 and thanks flavallee for the "throwing out the trash" Tips. I really cleaned out the files.......hope the computer starts in the morning. Ha!Ha!
 
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

Members online

Top