Folder Locker

a guest Jan 22nd, 2014 91,664 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @ECHO OFF
  2. title
  3. if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
  4. if NOT EXIST Locker goto MDLOCKER
  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
  31. md Locker
  32. echo Locker created successfully
  33. goto End
  34. :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