Hello friends, many times we want to hide or lock our sensitive data for the purpose of the security. To hide or to lock our files and folders, we mostly use some third-party softwares like My Lock Box, FolderLock, Locker, Folderhide, etc. on the internet freely. But these softwares come with some restrictions or with trail periods. We can use some windows tricks to do hide or lock our data. Here are some tricks for this purpose for the windows platform. So that, we do not need the third-party softwares. In this article, we can protect our data by using, command prompt, by changing the folder to system folder and by setting the password on the folder using batch files.
Using Command Prompt:
Here is first trick which uses the command prompt to hide the data from others. By using this trick, we change the attribute of the data. This trick can be applied on folder as well as the file.
For this, we have to change the attributes of that file to hidden and system. For the hidden file and system attribute, we use ‘h’ and ‘s’ respectively. To add these attributes to file we use add(+) sign and to remove these attribute from a file or folder we use minus(-) sign.
Suppose, there is the folder named Locker in the drive H: and we want to hide this folder using command prompt trick.
1. Start the run window using ‘windows+R’ key. Type cmd in this window.
2. Typing cmd in the run windows will open command prompt windows. In command prompt go to the folder directory, here folder directory is H:
3. Type the following command to hide the folder named Locker.
Here Locker is the folder name to which we wants to hide.
4. Now check the directory of the folder named locker, it should be hidden now.
5. To unhide the folder, type:
Now the folder named Locker will be visible again.
Note: You have to remember the folder or file name and its location. Since, there is no other way to get back the hidden folder or file. So note down and keep it in a safe place.






