While doing some system maintenance the other day, I noticed my Windows Temp directory had an unusually large number of files in it (over 1 GB). Upon browsing through the files, most simply appeared to be garbage.
Unlike the temporary Internet files, there isn’t an obvious way to limit the size of the temp directory, so instead I wrote up a batch file to clear out the folder for me. The only line in the file is:
del /q /f /s %temp%\*
I saved this file as “clean_temp.bat” and scheduled it to run monthly. This should work in 2000/XP/2003/Vista.

Like what you read?
If so, please join over 28,000 people who receive our exclusive weekly newsletter and computer tips, and get FREE COPIES of 5 eBooks we created, as our gift to you for subscribing. Just enter your name and email below:







