The Quickest and Most efficient way to cleanup Windows temp

Cleaning up the Windows XP temp folder from the Windows explorer is a tedious task especially if you have thousands of files inside it.

In order to clean it up quickly, you can use a cleanup windows software or open the command line and enter the following four commands:

cd %tmp%
rd /s .
cd %windir%/temp
rd /s .

These commands will remove all of the temp folders content efficiently (Do not worry if you see some files are not deleted because they are currently used by the system, in order to delete these set of files, just restart your system and re-execute these commands again).

This entry was posted in Windows and tagged , , , , , , by Hazem Saleh. Bookmark the permalink.

About Hazem Saleh

Hazem Saleh has more than eleven years of experience in Cloud, Mobile and Open Source technologies. He worked as a software engineer, technical leader, application architect, and technical consultant for many clients around the world. He is an Apache PMC (Project Management Committee) member and a person who spent many years of his life writing open source software. Beside being the author of the "JavaScript Unit Testing" book, "JavaScript Mobile Application Development" book, "Pro JSF and HTML5" book and the co-author of the "Definitive guide to Apache MyFaces" book, Hazem is also an author of many technical articles, a developerWorks contributing author and a technical speaker in both local and international conferences such as ApacheCon North America, Geecon, JavaLand, JSFDays, CON-FESS Vienna and JavaOne. Hazem is an XIBMer, he worked in IBM for ten years. Now, He is working for Nickelodeon New York as a Mobile Architect. He is also an OpenGroup Master Certified Specialist.