Advertisements:
There are many softwares to lock your computer folder. But you can also lock any folder without using any software. Just follow the below steps to set password or lock folder of you computer or laptop.

Step 1: First you have to make your folders totally invisible, to do this follow these steps -
- Create a new folder with any name
- Rename the folder with a space (U have to hold ALT key and type 0160).
- Now u have created a folder without a name or the name is only space.
- Now Right click on the folder >> properties >> customize.
- Now click on change icon.
- Scroll down and you should find some empty spaces.
- Click on any one of them and Click ok
- Thats it, now your folder has become invisible .
Step 2: Now you have to follow these steps -
- Suppose you have a folder named abcd in D:\abcd.
- In the same drive next to the folder create a new notepad file with the exact statement ren abcd abcd.{21EC2020-3AEA-1069-A2DD-08002B30309D}
- Now save this text file as loc.bat
- Create another notepad file and type ren abcd.{21EC2020-3AEA-1069-A2DD-08002B30309D} abcd
- Save this as key.bat
- Now there are two batch files . Double click loc.bat and your folder will change into Control Panel and its contents cannot be viewed .
- To open the folder double click key.bat and you get back your original folder .
- For more safety keep the key.bat in another location .Only for unlocking copy paste to the original location and double click .
Now if you combine the Step 2 with Step 1 it will be impossible for anyone else to access it except you.






You can hide folder using following command in Windows
switch to command prompt ( cmd )
Run
type cmd
attrib /S /D +S +H c:\foldername
This command will hide the folder and its all sub-folder and files. Folder will be completely invisible even if show hidden files option is selected.
To un-hide the folder just reverse the command.
attrib /S /D -S -H c:\foldername