Posted by Bill-Kr4Mz on Saturday, December 14, 2013
hallo teman?, Kali ini saya akan share tips and tricks Cara Membuat Folder Dengan Batch File, silahkan Simak Caranya Di bawah ini :
Bahan-Bahan yang di Butuhkan :
1. PC
2. Notepad
3. Otak
Langkah-langkah nya :
FORM :
1. Open notepad
2. masukkan code di bawah :
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%== yourpassword 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
3. Save file dengan merubah "Save As type : documents text", Menjadi "all Files" Lalu save dengan format (Name terserah anda:p).bat
4. Open file dengan sendirinya folder private akan muncul
Mengunci/Menghidden Folder :
1. buka (name terserah anda:p).bat yang telah anda buat
2. lalu akan muncul " Are You Sure Want To Lock The Folde (Y/N)"
3. Lalu Klik Tombol Y
4. Oto matis folder akan menghilang
Membuka Folder :
1. Buka (name Folder serah anda:P).bat yang sudah anda buat
2. Lalu akan Muncul "enter password to unlock folder"
3. Langsung masukkan password, lalu enter
yourpassword
4. otomastis folder akan muncul
Merubah Password :
1. Klik (name Folder serah anda:P).bat yang sudah anda buat, lalu pilih edit atau open dengan notepad
2. ubah kata pasword yang tadi dengan yang kamu ingin kan :
if NOT %pass%== yourpassword goto FAIL
Contoh :
if NOT %pass%== bill-kramz goto FAIL
3. Jika sudah Save file dengan merubah "Save As type : documents text", Menjadi "all Files" Lalu save dengan format (Name terserah anda:p).bat , atau replace file yang tadi
Sekian dan terimah kasih !