Advertisement
Guest User

How To Lock A Folder With Pass Without Any Software

a guest
Dec 17th, 2011
1,047
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. www.amaderforum.com Visit 4 More Amazing Things
  2.  
  3. by Pritam71 Created By Pritam71
  4.  
  5. Follow instructions..You don't need even software to Protect your Folder
  6. You have to create one txt file and following instructions..simple..
  7.  
  8. Folder Lock without any Software: (Follow Following Instruction)
  9.  
  10.  
  11. 1-Open NotePad.
  12. 2- Copy following CODE
  13. 4-Save This file as a locker .bat
  14. 5-Open This locker .bat file
  15. 6-Enter your Password.
  16. 7-You can see that new “Locker” Folder is Created .
  17. 8-Put Your Important Data in this “Locker” Folder.
  18. 9-ReOpen “locker .bat” File. It’s Show message – Are u want to save this(Y/N)
  19. 10- Enter Y
  20. 11-You can see that Your Locker Folder is Vanished.
  21. 12- To Reopen File. Open locker .bat File and Apply Your Password.
  22. Enjoy…………………………
  23.  
  24. Enter This Code In Notepad And Save As Locker.bat
  25. Locker Password - pritam71
  26. Code:
  27. cls
  28. @ECHO OFF
  29. title Folder Locker
  30. if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
  31. if NOT EXIST Locker goto MDLOCKER
  32. :CONFIRM
  33. echo Are you sure u want to Lock the folder(Y/N)
  34. set/p "cho=>"
  35. if %cho%==Y goto LOCK
  36. if %cho%==y goto LOCK
  37. if %cho%==n goto END
  38. if %cho%==N goto END
  39. echo Invalid choice.
  40. goto CONFIRM
  41. :LOCK
  42. ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  43. attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  44. echo Folder locked
  45. goto End
  46. :UNLOCK
  47. echo Enter password to Unlock folder
  48. set/p "pass=>"
  49. if NOT %pass%==pritam71 goto FAIL
  50. attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  51. ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
  52. echo Folder Unlocked successfully
  53. goto End
  54. :FAIL
  55. echo Invalid password
  56. goto end
  57. :MDLOCKER
  58. md Locker
  59. echo Locker created successfully
  60. goto End
  61. :End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement