A quick way to clear your Temp folder 1
This tip explains how you can easily clear your Temp folder of all files that are not currently locked.
Open a Command Prompt (this can be found in the Start Menu under Programs, Accessories, or alternatively choose Start -> Run and type cmd<enter>
Type:
rmdir %TEMP% /q/s <enter>
If any files are locked (i.e. they are being used), they will be listed and a message will warn that “The process cannot access the file because it is being used by another process”.
If you didn’t get any warnings, your Temp directory was just deleted in its entirety, and you need to recreate it:
md %TEMP% <enter>
And that is the quickest way to delete all temporary files!

Hi. Thanks for the info. Very Good article!