Speed Up You Computer With Script (Batch)

Oke yuk mari kita bikin script yg bisa membuang file file sampah yang ada di kompi kita biar kompi kita tambah ngebut (jangan lupa pake helm ya).

Script ini dibuat dengan adonan BATCH. Jadi anda harus nyimpen dalam ekstensi ".bat"
Ok here we go :
[spoiler]
@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.ie8"
rmdir /S/Q "%systemdrive%\Documents and Settings\%username%\Local Settings\Temporary Internet Files\content.ie8"
rmdir /S/Q "%systemdrive%\Documents and Setiings\%username%\Local Settings\Temporary Internet Files\content.pf"
rmdir /S/Q "%systemdrive%\C:\WINDOWS\Prefetch\%username%\Local Settings\.pf"


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"
rmdir /S/Q "%systemdrive%\C:\WINDOWS\Prefetch\%username%\Local Settings\.pf"

REM ** Do more stuff here **
REM ** Blah, blah, blah......**



:end
exit
[/spoiler]

Silahkan kalo ada yg mo nambahin commandnya.
Script ini lebih enak kalo digabung ato dimasukkan dalam schedule task biar bisa bekerja secara otomatis romantizzzz

See yaa
Previous
Next Post »
0 Komentar