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:
Post a Comment