Guest User

Password Locker GetPCApps.com

a guest
Jan 29th, 2019
829
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. cls
  2.  
  3. @ECHO OFF
  4.  
  5. title Folder Locker by GetPCApps.com
  6.  
  7. if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
  8.  
  9. if NOT EXIST Locker goto MDLOCKER
  10.  
  11. :CONFIRM
  12.  
  13. echo Are you sure u want to Lock the folder(Y/N)
  14.  
  15. set/p "cho=>"
  16.  
  17. if %cho%==Y goto LOCK
  18.  
  19. if %cho%==y goto LOCK
  20.  
  21. if %cho%==n goto END
  22.  
  23. if %cho%==N goto END
  24.  
  25. echo Invalid choice.
  26.  
  27. goto CONFIRM
  28.  
  29. :LOCK
  30.  
  31. ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  32.  
  33. attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  34.  
  35. echo Folder locked
  36.  
  37. goto End
  38.  
  39. :UNLOCK
  40.  
  41. echo Enter password to Unlock folder
  42.  
  43. set/p "pass=>"
  44.  
  45. if NOT %pass%==Your-Password-Here goto FAIL
  46.  
  47. attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  48.  
  49. ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
  50.  
  51. echo Folder Unlocked successfully
  52.  
  53. goto End
  54.  
  55. :FAIL
  56.  
  57. echo Invalid password
  58.  
  59. goto end
  60.  
  61. :MDLOCKER
  62.  
  63. md Locker
  64.  
  65. echo Locker created successfully
  66.  
  67. goto End
  68.  
  69. :End
Add Comment
Please, Sign In to add comment