Wednesday, January 30, 2013


 
Hello friends

Now you can clean your pc by using a simple batch file...

 

First open Notepad

Copy this following....As I Wrote....

********************************************* (FOR WIN XP)

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

 

:end

exit

 

*********************************************

OR

 

*********************************************(for Win 7 or Vista)

@echo off

 

if %username% == Administrator.WINDOWS goto admin

 

REM ** Delete User Files **

 

rmdir /S/Q "%systemdrive%\Users\%username%\Recent"

rmdir /S/Q "%systemdrive%\Users\%username%\Local Settings\Temp"

rmdir /S/Q "%systemdrive%\Users\%username%\Local Settings\History\History.ie5"

rmdir /S/Q "%systemdrive%\Users\%username%\Local Settings\Temporary Internet Files\content.ie5"

 

goto end

 

:admin

REM ** Do some extra stuff here **

REM ** What ever you want..... **

 

ECHO You are a Administrator

 

rmdir /S/Q "%systemdrive%\Users\%username%\Recent"

rmdir /S/Q "%systemdrive%\Users\%username%\Local Settings\Temp"

rmdir /S/Q "%systemdrive%\Users\%username%\Local Settings\History\History.ie5"

rmdir /S/Q "%systemdrive%\Users\%username%\Local Settings\Temporary Internet Files\content.ie5"

 

REM ** Do more stuff here **

REM ** Blah, blah, blah......**

 

:end

exit

 

*********************************************

Save the file as "Junkfilecleaner.bat" to desktop.

WARRNING : CLOSE ALL OPEN APPLICATION

open Junkfilecleaner.bat

Lest's Clean All.................Junk

0 comments:

Post a Comment

Popular Posts

Recent Posts