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