Use the Command Line for a Quick Cleanup of Windows Temp Files [1]
The previous tip [3] showed how to configure Windows Disk Cleanup to reduce the time that temp files are kept. A simple approach that allows the deletion of temp files right away uses the Windows command line [4] and the environment variable [5] %TEMP%. Open the command line and enter:
del /q/f/s %TEMP%\*
One precaution to observe: do not apply this command right after installing updates or new programs that require a reboot. Sometimes these processes use temp files to finish installation.
Get your own favorite tip published! Know a neat tech tip or trick? Then why not have it published here and receive full credit? Click here to tell us your tip. [6]
This tips section is maintained by Vic Laurie. Vic runs a Windows blog called The PC Informant [7] and also operates a computer education website. [8]
Click here [9] for more items like this. Better still, get Tech Tips delivered via your RSS feeder [10] or alternatively, have the RSS feed sent as email [11] direct to your in-box.