Posted 14 years ago · Author First open notepad.Paste this code in it. Code @echo offdel /s /f /q c:\windows\temp\*.*rd /s /q c:\windows\tempmd c:\windows\tempdel /s /f /q C:\WINDOWS\Prefetchdel /s /f /q %temp%\*.*rd /s /q %temp%md %temp%deltree /y c:\windows\tempor~1deltree /y c:\windows\tempdeltree /y c:\windows\tmpdeltree /y c:\windows\ff*.tmpdeltree /y c:\windows\historydeltree /y c:\windows\cookiesdeltree /y c:\windows\recentdeltree /y c:\windows\spool\printersdel c:\WIN386.SWPclsSave it as clean.bat and run it. Run as admin in windows 7 and vista.
Posted 14 years ago Ez1o wrote:Deletes some stuff.windows temp, cookies history and other stuff.So, it does the exact same thing as the windows diskclean tool that comes on every windows machine?