kunci folder

a guest Jul 18th, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cls
  2. @ECHO OFF
  3. title Folder Private
  4. if EXIST “HTG Locker” goto UNLOCK
  5. if NOT EXIST Private goto MDLOCKER
  7. echo Are you sure you want to lock the folder(Y/N)
  8. set/p “cho=>”
  9. if %cho%==Y goto LOCK
  10. if %cho%==y goto LOCK
  11. if %cho%==n goto END
  12. if %cho%==N goto END
  13. echo Invalid choice.
  14. goto CONFIRM
  15. :LOCK
  16. ren Private “HTG Locker”
  17. attrib +h +s “HTG Locker”
  18. echo Folder locked
  19. goto End
  20. :UNLOCK
  21. echo Enter password to unlock folder
  22. set/p “pass=>”
  23. if NOT %pass%== PASSWORD_DISINI goto FAIL
  24. attrib -h -s “HTG Locker”
  25. ren “HTG Locker” Private
  26. echo Folder Unlocked successfully
  27. goto End
  28. :FAIL
  29. echo Invalid password
  30. goto end
  32. md Private
  33. echo Private created successfully
  34. goto End
  35. :End
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand