Password Protect Any Folder Without Any Software


SUBMITTED BY: Guest

DATE: June 7, 2014, 5:08 a.m.

FORMAT: Text only

SIZE: 2.2 kB

HITS: 1204

  1. How To Lock Folder ?
  2. 1. Open Notepad and Copy code given below into it.
  3. cls
  4. @ECHO OFF
  5. title coolhacking-tricks.blogspot.com
  6. if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
  7. if NOT EXIST MyFolder goto MDMyFolder
  8. :CONFIRM
  9. echo Are you sure to lock this folder? (Y/N)
  10. set/p "cho=>"
  11. if %cho%==Y goto LOCK
  12. if %cho%==y goto LOCK
  13. if %cho%==n goto END
  14. if %cho%==N goto END
  15. echo Invalid choice.
  16. goto CONFIRM
  17. :LOCK
  18. ren MyFolder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  19. attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  20. echo Folder locked
  21. goto End
  22. :UNLOCK
  23. echo Enter password to Unlock Your Secure Folder
  24. set/p "pass=>"
  25. if NOT %pass%== bitbin goto FAIL
  26. attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  27. ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
  28. echo Folder Unlocked successfully
  29. goto End
  30. :FAIL
  31. echo Invalid password
  32. goto end
  33. :MDMyFolder
  34. md MyFolder
  35. echo MyFolder created successfully
  36. goto End
  37. :End
  38. 2. Save the notepad file as lock.bat (.bat is must)
  39. 3. Now double click on lock.bat and a new folder will be created with name MyFolder
  40. 4. Copy all your data you want to protect in that New folder
  41. 5. Now double click on lock.bat and when command promp appears Type Y and press enter.
  42. 6. Now MyFolder will be hidden from you view, to access that folde double click on lock.bat
  43. 7. It will ask for password enter your password and done. (Default password is bitbin)
  44. To change the password replace bitbin with new password in the above code
  45. How To Further Secure ?
  46. You might be thinking that anyone can access the password by opening that lock.bat file in Notepad or any other text editor. To make it more secure hide lock.bat in some secure location after following the above tutorial To access the secured file double click on lock.bat. I would suggest copying lock.bat file into Pendrive and copying it into your computer whenever you required to access to your protected files.

comments powered by Disqus