How are the temp folders on Windows supposed to work? On my Vista PC I notice they simply get larger and larger. I presume I'd eventually just run out of space (I'm already getting low because of tens of gigabytes in my temp folder).

Why doesn't the system periodically clean them out automatically? How can I know what can be deleted from the various temp folders? Is it a bug for an application to leave something behind in the temp folder?

link|improve this question
If a program leaves garbage lying around, the program is at fault, not the OS. – grawity Sep 6 '10 at 19:36
feedback

2 Answers

up vote 1 down vote accepted

I don't think that its a bug of OS to keep the temp files. It may be result of other installation or uninstall of softwares. Disk cleanup is the standard utility for doing the cleaning them from Microsoft side else you can use download this from CNET

link|improve this answer
I'll approve this - but I don't agree that this isn't a defect in the OS. This kind of standard maintenance should be performed automatically. – pauldoo Jan 4 '11 at 14:35
feedback

you can use the Disk Cleanup tool which is included with Windows and accessed by right-clicking on the drive your version of Windows is installed, click on Properties and then launch "Disk Cleanup". With a bit of fiddling it's also possible to automate this tool, although it doesn't need to be run that often.

Alternatively tools like http://www.piriform.com/ccleaner work quite well.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.