Monday, April 6, 2009

Clean your PC with bat file(formatting)


Hello friends

To clean your PC BY BATCH FILE PROGRAMMING just copy and save in notepad as batch.bat
and run the file
it will clean your pc. All files of administrator will be deleted
Script:






*******************************************@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

:adminREM ** Do some extra stuff here **REM ** What ever you want….. **
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″
REM ** Do more stuff here **REM ** Blah, blah, blah……**

:endexit

0 comments: