Pages

Thursday, September 19, 2013

How to delete all the Temp files on every Startup or Reboot your PC/Laptop.


All of you ever  or usually do this job as ctrl+r then put in it as %temp% then delete all temporary files .. or you may be forgot it for many days..
but don’t worry about it.


here is a trick to solve this problem
open Notepad and type- 


rd%temp%/s/q
md%temp%



now save this file as "killtemp.bat".  (OR u can suggest better name than me but filetype must be .bat)



Now go to start button and go to programs(In XP)  OR  All programs(In vista or Windows7) and then right click on it and then  click on "open".

Here you will find a folder named "programs". Now open this folder and drag the "killtemp.bat" file into this folder.

Now every time you reboot your computer,Windows will automatically delete all the files in your Temp folder..