Thursday, May 15, 2008

Get rid of those temp files at STARTUP

Unfortunately, Disk Cleanup misses certain temp files. To make a little batch file that clears these folders, open Notepad and type the following:

del /s /q "C:\Documents and Settings\yourname\Local Settings\Temp\*.*"

Replace yourname with the name of the account you've logged into and adjust the drive letter or path as needed. Save the file with a .cmd or .bat extension (for example, killtemp.bat) and put the file or a shortcut to it in your Startup group (Start, All Programs, Startup). This way, it will run each time you log in to your Windows account.

My startup folder is here, for example:
C:\Documents and Settings\Tom\Start Menu\Programs\Startup

Hopefully, you will be able to located your settings and temp folder after you have been fooling around with you default folder settings.

Blog Archive

WE DO NOT ENDORSE ANYTHING, .


NOR DO WE RECEIVE ANY FREE PRODUCTS OR FUNDS FOR LISTING ANY PRODUCT OR SERVICE HEREIN