Wednesday, August 25, 2010

How to remove junk files from command prompt

On the notepad paste these command and save as <filename>.bat

When you'll  open this batchfile (<filename>.bat), it'l remove all the junk files.


cd %systemdrive%


cd %systemroot%

cls

del prefetch\*.* /f /s /q

del temp\*.* /f /s /q

del "%temp%\*.*" /f /s /q

exit