You can make a real Hidden folder/file by marking it as an important operating system file/folder.that way Windows won’t display it even if explorer is set to display hidden files and folders.
Steps to Hide a Folder/File :
- Go to the directory where your file/folder is which you want to hide.
- Hold shift key and right click in blank space.
- Select "Open command window here" option. It will open a command prompt in current directory so that you don't have to write the full path of your file/folder.
- Now type the following command by replacing xxx with your file/folder name (type the file name with extension) and hit Enter.Here my file name is "info.txt".
attrib +h +s xxx
- Now check the directory. Your file/folder is hidden completely. Even by turning on the "Show hidden files and folders" option, your file/folder will not be visible.
To Unhide File/Folder:
- Simply follow the above steps for hiding folder by replacing command with this following command.Replace xxx with your file/folder name(Don't forget to type your file extension) and hit Enter.
attrib -h -s xxx
Now you can see that your file/folder is visible again.
Note: Don't forget name of hidden file/folder.Otherwise you cannot unhide the file/folder.
0 comments:
Post a Comment