b

Cara Membuat Folder Terkunci Menggunakan Notepad

 

- Berikut Langkah Membuat Folder Terkunci Menggunakan Notepad..
1. Pertama, Copas dulu code berikut ini ke notepad..

@ECHO OFF
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Do You Want to Lock 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 Enter 'Y' or 'N'
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder Terkunci
goto End
:UNLOCK
echo Please enter your password!
set/p "pass=>"
if NOT %pass%== yourpassword goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo successfully opened the folder!
goto End
:FAIL
echo password is wrong!
goto end
:MDLOCKER
md Locker
echo Locker successfully created
goto End
:End

- NB : Ganti tulisan "yourpassword" pada code di atas dengan password yang sobat inginkan.

2. Save code di atas dengan menggunakan exstensi .bat, contoh : "lock.bat" dan ganti "save as type" menjadi All Files, seperti pada gambar berikut :

3. Setelah sobat save code tadi, lalu buka file yang berexstensi ".bat" tadi maka file tersebut akan membuat sebuah folder "Locker" contoh seperti pada gambar :

4.Lalu masukan folder/file yang ingin sobat isikan password ke folder "Locker" tersebut, dan klik kembali file exstensi ".bat" tadi, ketik "Y" untuk mengunci folder tersebut, ketik "N" untuk batal.  Seperti pada gambar :



5. Untuk membukanya, tinggal klik lagi file exstensi ".bat" tersebut lalu sobat akan diminta untuk memasukan password yang sudah sobat buat tadi, setelah itu tekan Enter dan folder sobat bisa di akses. 
NB : Jangan sampai file exstensi .bat itu terhapus, karena folder sobat/file juga akan bisa hilang dan juga karena saya belum tahu cara untuk mengatasinya. :D
- See more at: http://dikaeuphrosyne.blogspot.com/2013/07/cara-membuat-folder-terkunci.html#sthash.iLIcRJgM.dpuf