Hello everyone, have you ever found yourself in a situation where you need to save important or confidential documents or files on your computer or Laptop but are afraid someone might see those documents? We all have some important documents that we need to store and restrict their access or visibility in order to secure them, but we don't know how to do it. You may have tried the traditional way of hiding the document or file by going to the properties of the document/file and then choosing the "Hidden" option to hide the file.
This method works and hides the files, but anyone with some knowledge of the computer knows how to view such hidden files, thus making this method ineffective in protecting your important documents and files.
What is the solution, then? Is there a way we can truly hide a file that is not visible even if we have the hidden file option turned on from the view option?
Well, there is a way. In order to hide a file, we can follow the steps below.
Step 1. Go to the directory or folder where the files are present. Here we have two files: confidential.txt and Non confidential.txt.
Step 2. In the address bar, type "cmd".
Step 3. This will open the command prompt in that path.
Step 4. Now, in the command prompt, enter the below command and press enter.
attrib +h +s +r confidential.txt
Note. Here, confidential.txt is the file name. Replace this with the name of your file.
Step 5. Thats it. Your file is hidden now. As you can see, the file confidential.txt is not visible now, even if the Hidden items option is selected.
Step 6. Now, you want to know how we can unhide the file. This is very simple and easy as well. Repeat the steps 1 - 3. Now, when the command prompt is open, write the command below and press enter.
attrib -h -s -r confidential.txt
Note. Here, confidential.txt is the file name. Replace this with the name of your file.
Step 7. Close the command prompt window. As you can see, the file is now visible.
That's it!! This is how we can easily hide our important files and documents. Now that you have learned how to hide your files, go ahead and use it to add extra protection to your files.