Friday, January 15, 2010

Lock Ur Folder

1.Buka notepad dan copy paste coding dibawah :-
 
Quote:password
Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== nazree goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End    

2.Save as Locker.bat.
3.Buat folder baru dan pastekan Locker.bat disini..
4.Double click Locker.bat. dan akan muncul folder Private.
5.Double click again Locker.bat. dan muncul "Are you sure you want to lock the folder(Y/N)"
6.Taip "Y"  dan Private folder akan hilang(hidden)
7.Untuk membuka Private folder double click the Locker.bat and type the password " nazree "
8.Untuk edit password right click Locker.bat and find "if NOT %pass%== nazree goto FAIL"
9.nazree merujuk kepada password..Tukar password baru dengan edit " nazree "
-be creative fikir positif-

No comments:

Post a Comment