MikoVirgoez

Script Password Folder

Oct 8th, 2015
1,117
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @ECHO OFF
  2. SerbaCara.com
  3. if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
  4. if NOT EXIST Locker goto MDLOCKER
  5. :CONFIRM
  6. echo Do You Want To Lock This Folder(Y/N)
  7. set/p "cho=>"
  8. if %cho%==Y goto LOCK
  9. if %cho%==y goto LOCK
  10. if %cho%==n goto END
  11. if %cho%==N goto END
  12. echo Invalid Choice ( Y=yes , N=no ).
  13. goto CONFIRM
  14. :LOCK
  15. ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  16. attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  17. echo This Folder Is Locked
  18. goto End
  19. :UNLOCK
  20. echoenter password
  21. set/p "pass=>"
  22. if NOT %pass%==masukanPassword goto FAIL
  23. attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  24. ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
  25. echo Unlocked
  26. goto End
  27. :FAIL
  28. echo Invalid password
  29. goto end
  30. :MDLOCKER
  31. md Locker
  32. echo Locker created successfully
  33. goto End
  34. :End
RAW Paste Data