Hide files and folders in Windows using command Prompt
Privacy is hard to come by these days and it’s a hot topic today. Whether you are sharing your computer or someone occasionally have access your computer, may be you have desire to hide some files and folders on your computer which may be your sensitive information or your private files.
Almost anyone knows how to make a “hidden” folder in Windows. Beside this there are many solutions to hide your files and folders. if you just want to hide your date and files on computer, you don’t need to pay money or buy different software to hide your files or personal information. This article will show you a way to hide files and folders using Command prompt.
Here’s how to do it.
In this article you will learn how to hide or show files and folders in windows using command line prompt and also you will know the use of attrib command .
Windows offers a wide variety of tools that you can access using your command prompt
attrib: Using this command we can change file attributes (i.e., read-only, system and hidden flag).
attrib +h [file/folder name]: This command will set hidden attributes to active. It will hide a file/folder.
attrib -h [file/folder name]: This command will remove hidden attributes from a file to make files/folders visible to everyone.
attrib +s: Sets the system file attribute.
attrib -s: Clears the system file attribute.
1.Open your Command Prompt window using the Windows + R key combination, and then type cmd click on OK.
2.Copy the address from the address bar of the folder or file which you want to hide.
3.Type attrib +h “file name” and hit the enter to make it hidden.
4.Type attrib +s+h “file name” and hit the enter
If you want to make the real hidden file and folder then simply mark it as an important operating system file. By changing into system file, the window won’t displays it even if explorer it set to display hidden files and folders.
To make the file or folder visible again, you can run the same command, except this time use “- “instead of the “+” signs.
Type attrib -s -h “file name” and hit the enter
I hope you will find this information useful.