1.
Buatlah sebuah folder baru misalnya Data Pribadi
2.
Ketik kode dibawah ini dengan menggunakan
program notepad
3.
Pada line if NOT %pass%== Password Anda goto
FAIL, ganti password anda dengan
password yang anda inginkan :
Code:
cls
title Folder Private
title Folder Private
if EXIST “Control Panel.
{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCKER
:CONFIRM
Echo Are you sure you want to lock the
folder (Y/N)
set/p “cho=>”
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 +n +s “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder Locker
goto End
:UNLOCK
echo enter password to unlock folder
set/p “pass==>”
if NOT %pass%===12345 goto FAIL
attrib -h -s “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}” Private
echo Folder Unlocker successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md private
echo Private created successfully
goto End
:End
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 +n +s “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder Locker
goto End
:UNLOCK
echo enter password to unlock folder
set/p “pass==>”
if NOT %pass%===12345 goto FAIL
attrib -h -s “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}” Private
echo Folder Unlocker successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md private
echo Private created successfully
goto End
:End
4.
Simpan kode diatas di folder “Data Pribadi”
dengan nama FolderLock.bat dengan
cara seperti biasa, jangan lupa pada Save As Type anda pilih all file
5.
Double klik file Folderlock.bat tersebut dan akan muncul folder baru dengan nama Private
6.
Untuk menyembunyikan file yang kita inginkan,
anda tinggal copy paste semua fie kedalam Folder Private tersebut
7.
Jalankan file folderlock tadi, sehingga muncul
pertanyaan “Are you sure want to lock the
folder (Y/N) ?”
8.
Ketiklah Y
lalu enter untuk melanjutkan. Dengan begitu folder Private tersebut akan terlock alias hilang dari kasat mata
9.
Jika ingin membuka folder private tadi, tinggal
jalankan file Folderlock.bat dan masukkan password anda buat tadi.
10.
Selamat mencoba !! :D