Rafeeq,
I actually use a tool called Temp Folder 2.2 which does the job as you have given in the article. It is a freeware from http://www.softpedia.com/get/Security/Secure-cleaning/Clear-TEMP-folder.shtml
I would suggest if you can use this link in the article also. That way we can ensure that people don't write incorrect dos commands.