Cara Memberikan Password pada Folder dengan Script tanpa Menggunakan Software Aman

 
Berikut Kode yang di pakai di copy dari jalantikus.com : 

  1. @ECHO OFF
  2. title JalanTikus.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/“cho=>”
  8. if %cho%==goto LOCK
  9. if %cho%==goto LOCK
  10. if %cho%==goto END
  11. if %cho%==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 ++“Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
  17. echo This Folder Is Locked
  18. goto End
  19. :UNLOCK
  20. echoenter password
  21. set/“pass=>”
  22. if NOT %pass%==masukanPassword goto FAIL
  23. attrib “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

1 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *