up vote 3 down vote favorite
2
share [g+] share [fb]

I just found that I have 4 GB of space in /Documents and Settings/<user name>/Local Settings/temp.

Is there any reason why I shouldn't go and delete these?

link|improve this question

feedback

3 Answers

up vote 5 down vote accepted

The location you mentioned is the default location for System Environment Variable "TEMP" or "TMP". Applications use the TEMP for storing temporary data, data that will be needed for the specific user session & installers use it to extract the data from the compressed installation files. You can safely delete any files that are not locked. (Locked files are still being used by application for storing user data). The easiest way will be using CCleaner a freeware to do it for you.

link|improve this answer
Or just a del /s /q /f %TEMP%\\* – Joey Sep 26 '09 at 10:53
feedback

You may find yourself unable to uninstall some applications that put their .msi packages there. Other than that it's all right to clean up. Better do it right after reboot so that less files there will be in use.

link|improve this answer
feedback

Don't worry about locked files. Just delete all the files you can, and ignore the ones you can't.

I usually create a directory in C:\Temp and set it in the environment variables "TEMP" and "TMP" for both the system and the user. That way, it's much easier to survey the accumulated junk. Sometimes I find files in there that I prefer to keep, which is another reason that I don't use CCleaner, etc. to automatically do it for me.

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.