How to Lock a Folder Using a Batch File

  1. Lock a Folder Without Using Any Program Step 1.jpg
    1
    Open Notepad.
  2. Lock a Folder Without Using Any Program Step 2.jpg
    2
    Copy the code. Just like the image above.[1]
  3. Lock a Folder Without Using Any Program Step 3.jpg
    3
    Change the password. Where it says "password here", change it to your desired password.
  4. Lock a Folder Without Using Any Program Step 4.jpg
    4
    Save the file with name "locker.bat" and as all types and click "Save".
  5. Lock a Folder Without Using Any Program Step 5.jpg
    5
    Close the window.
  6. Lock a Folder Without Using Any Program Step 6.jpg
    6
    Run the "Locker" file by double-clicking it. You will get a folder named Private.
  7. Lock a Folder Without Using Any Program Step 7.jpg
    7
    Move all the things you want to hide and again run locker.bat.
  8. 8
    Follow the instructions.
  9. 9
    Done. No one can access your folder without the password.
  10. Lock a Folder Without Using Any Program Step 1.jpg
    1
    Open Notepad.
    Ad
  11. Lock a Folder Without Using Any Program Step 2.jpg
    2
    Copy the code. Just like the image above.[1]
  12. Lock a Folder Without Using Any Program Step 3.jpg
    3
    Change the password. Where it says "password here", change it to your desired password.
  13. Lock a Folder Without Using Any Program Step 4.jpg
    4
    Save the file with name "locker.bat" and as all types and click "Save".
  14. Lock a Folder Without Using Any Program Step 5.jpg
    5
    Close the window.
  15. Lock a Folder Without Using Any Program Step 6.jpg
    6
    Run the "Locker" file by double-clicking it. You will get a folder named Private.
  16. Lock a Folder Without Using Any Program Step 7.jpg
    7
    Move all the things you want to hide and again run locker.bat.
  17. 8
    Follow the instructions.
  18. 9
    Done. No one can access your folder without the password.