Tuesday, July 1, 2008

How to hide a file (or folder) in Windows Explorer

It is possible to hide files and folders in Windows so that they aren't visible in Windows Explorer, even if the option show hidden files and folders are selected. This is an easy way to hide files via the program command window. The procedure is as I said quite simple, start by clicking the Windows Start button on the Windows panel and then select the option Run. In the box that turns up, type the letters "cmd", but without (") in front and after cmd, of course. This will open the command window. Once in command window, look for the folder containing the file you want to hide, such as "C:/Folder". You open the folder by typing "cd C:/Folder", where the CD stands for change directory. An old honest way to navigate through the old DOS filesystem. Again, leave out ("), and write only what is between the characters ("). Once you are at the correct folder, type "attrib filename +s +h", but with the file's name instead of filename. If everything is working correctly, then the file is now hidden in Windows Explorer. It doesn't matter whether Windows is set to show hidden files or not. If you want to get the file visible again, simply redo all the steps above, but type "attrib filename -s -h" instead of +s and +h. Just as before, it is necessary to replace the filename with the file's real name. If you want to know how to hide a entire folder from appearing in Windows Explorer, then you can read about it on this page:

No comments: