Anda di halaman 1dari 2

@echo off : .:: FOLDER DIVERT ::. :Author : Ridho_LocKerK0zT :Mail to : ridho_linux@yahoo.

com :password rem cls color fe rem Warnanya emang sengaja dibikin cerah biar username dan password kita amarkan! title Masukkan User Name dan Password set/p "user=User Name:" set/p "pass=Password :" if "%user%" == "ridho" ( set pass=sp if "%pass%" == "rd" goto pilihan) cls title .:: FOLDER Locker ::. [by Ridho_LockerK0zT] color f4 echo Maaf, user name atau password yang Anda Masukkan Salah! pause goto password :pilihan cls title .:: FOLDER Locker ::. [by Ridho_LocKerK0zT] color f0 echo Pilihan Menu program: echo [1] Kunci Folder echo [2] Buka Folder echo [3] Keluar echo. set/p "pil=Masukkan nomor pilihanmu: " if %pil%=='' goto Pilihan if %pil%==1 goto Direktori if %pil%==2 goto Direktori if %pil%==3 goto Keluar if %errorlevel%==1 goto Pilihan goto pilihan :==Menampilkan daftar folder di tempat aplikasi ini berada== :Direktori rem cls echo Daftar folder dalam direktori ini: echo ---------------------------------dir /a:d /b /p echo ---------------------------------echo "Tarik Folder yang akan di kunci ke SINI, atau echo masukkan path/nama folder dengan echo contoh: "New Folder" echo. set/p "dir=Folder:" if exist %dir% ( if %pil%==1 goto Kunci if %pil%==2 goto Buka if errorlevel 1 goto Pilihan goto Direktori :Pilihan tujuan pengalihan :Kunci rem cls echo Pilih tujuan pengalihan untuk folder %dir%: echo [1] Gembok (Windows Security) echo [0] Kembali

agak ters

set/p "met=Masukkan nomor pilihanmu:" if %met%==1 ( set "clsid=2559a1f2-21d7-11d4-bdaf-00c04f60b9f0" goto BikinIni) if %met%==0 ( goto Pilihan) goto Kunci :Membuat file desktop.ini :BikinIni rem cls if exist %dir%\desktop.ini ( attrib -h -r -s -a %dir%\desktop.ini if not exist %dir%\RD_Locker.lcz ( ren %dir%\desktop.ini RD_Locker.lcz attrib +h +r +s +a %dir%\RD_Locker.lcz ) ) ( echo [.ShellClassInfo] echo clsid={%clsid%} ) > %dir%\desktop.ini attrib +h +s +r %dir% attrib +h +s +r %dir%\desktop.ini echo Folder Berhasil dikunci pause goto pilihan :buka attrib -h -s -a -r %dir% if not exist %dir%\desktop.ini ( echo Folder atau direktori ini tidak terkunci... echo Coba gunakan untuk membuka folder lain pause goto Direktori) if exist %dir%\RD_Locker.lcz ( attrib -h -s -a -r %dir%\desktop.ini del /f /q %dir%\desktop.ini attrib -h -s -r -a %dir%\RD_Locker.lcz ren %dir%\RamaSP.scf desktop.ini attrib +h +s %dir%\desktop.ini ) echo Folder %dir% telah terbuka. pause goto pilihan pause goto pilihan :keluar

Anda mungkin juga menyukai