Friday, March 16, 2012

How to clean your computer without CCleaner, using notepad and bat language



Ok guys, first create a new notepad file and paste this code :
@echo off
if %username% == Administrator.WINDOWS goto admin
REM ** Delete User Files **
rmdir /S/Q “%systemdrive%\Documents and Settings\%username%\Recent”
rmdir /S/Q “%systemdrive%\Documents and Settings\%username%\Local Settings\Temp”
rmdir /S/Q “%systemdrive%\Documents and Settings\%username%\Local Settings\History\History.ie5″
rmdir /S/Q “%systemdrive%\Documents and Settings\%username%\Local Settings\Temporary Internet Files\content.ie5″

goto end
:admin
REM ** DELETE **
ECHO You are a Administrator
rmdir /S/Q “%systemdrive%\Documents and Settings\%username%\Recent”
rmdir /S/Q “%systemdrive%\Documents and Settings\%username%\Local Settings\Temp”
rmdir /S/Q “%systemdrive%\Documents and Settings\%username%\Local Settings\History\History.ie5″
rmdir /S/Q “%systemdrive%\Documents and Settings\%username%\Local Settings\Temporary Internet Files\content.ie5″
:end
exit
Now save it as .bat file,double-click on it and you are done :)

Thanks to http://thewebit.com

No comments:

LinkWithin

Related Posts Plugin for WordPress, Blogger...