Posted by : Alya Starleta Saturday 2 February 2013


1.  Buatlah folder baru di komputer anda
2. Buka notepad.
3. Copy kode dibawah ini ke notepad tadi.

cls@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure 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 Locker "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%==
password goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End


   
Setelah copy-paste ke notepad ganti tulisan berwarna merah dengan password yang kamu inginkan lalu save as dengan nama Lock.Bat dan simpan ke dalam folder yang sudah di buat tadi.
4.  Tutup notepad nya kemudian, klik folder tempat menyimpan notepad tadi. selanjutnya, klik lock.bat nya, akan muncul folder yang bernama Locker. Kemudian klik folder lockernya lalu simpan file atau dokumen yang kamu inginkan ke dalam folder locker.
5.Tutup folder locker lalu klik lagi lock.bat nya, nanti ada perintah seperti ini "Are you sure want to lock the file Y/N"
6.Lalu ketik "Y" dan enter. secara otomtis file lockernya sudah tidak ada/sudah tersembunyi
7.Untuk memunculkan kembali folder lockernya klik lagi lock.bat nya. Nanti ada perintah untuk memasukan password. masukan password yang sudah di buat tadi lalu enter,,,folder lockernya muncul kembali...

Sebagai tambahan untuk kata "Are you sure  want to Lock the folder" itu bisa di ganti dengan kata2 yang diinginkan begitu pula dengan kata "Enter password to Unlock folder" terserah mau ganti dengan kata2 sesuai keinginan,,,,tetapi ini dilakukan sebelum melakukan save as yah,,,,,,

Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © Hikaru's Blog - Blogger Templates - Powered by Blogger - Designed by Johanes Djogan -