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 (followed by pressing enter)
Type:
rmdir %TEMP% /q/s
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%
And that is the quickest way to delete all temporary files!
About
We are a small British company that produces business-oriented software and solutions. These articles are a product of our daily work - information that we think might be useful to share. We hope you find them useful.
Our Software
These are some of our products. Several are open source, some are web-based and others are proprietary:
Categories
- .NET (10)
- Apple (2)
- Business (5)
- CSS (1)
- HTML (2)
- Innovation (4)
- Java (4)
- Javascript (1)
- Leadership (1)
- MySQL (2)
- Oracle (6)
- Postgres (1)
- Programming (5)
- Rails (4)
- Ruby (10)
- SQL Server (9)
- Subversion (1)
- Web (5)
- Windows Server (2)
Archives
- July 2010 (2)
- September 2009 (5)
- August 2009 (1)
- July 2009 (12)
- June 2009 (16)
- May 2009 (3)