Mengunci Folder Tanpa Software

Simpan File ini dengan Extention *.bat lalu jalankan


@ECHO OFF
echo ================================================
echo ================================================
echo .....:::-[Digital homes Folder locker]-:::.......
echo sebelumnya buat dulu folder dengan nama
echo FOLDER_TERKUNCI
echo Di folder yang sama dengan file ini
echo ================================================
echo ================================================
pause

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST FOLDER_TERKUNCI goto MDLOCKER
:CONFIRM
echo Yakin Ni Mau Gwa Kunci Foldernya bro....?(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 FOLDER_TERKUNCI "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Foldernya dah terkunci
goto End
:UNLOCK
echo Eiittt masukkan pasword dulu
set/p "pass=>"
if NOT %pass%== subang goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" FOLDER_TERKUNCI
echo Folder Sudah terbuka
goto End
:FAIL
echo password S A L A H
goto end
:MDLOCKER
md FOLDER_TERKUNCI
echo Foldernya berhasil di buat
goto End
:End

0 comments:

Post a Comment

Hide Sidebar
Show Sidebar