How to make folders perma invisible in Windows [Guide]

Do you have a folder with top-secret files in it? If so you can make the folder perma invisible. And by perma invisible I mean the folder won’t be shown even if someone enables “show hidden files and folder” in Windows; it doesn’t mean you will never be able to see the folder again, because you can always undo this trick to make folders visible. The tricks involves marking it as an essential OS file with the Command Prompt. Read on to learn more.

Open the Command Prompt by entering cmd in the Windows Start menu search box. Or you can open the Command Prompt from Run by pressing the Windows + R shortcut. Input cmd.exe in Run, and click OK to open the window below.

folder

Then enter the following command line: attrib +s +h “C:\enter\folder\path\here” You will have to replace C:\enter\folder\path\here with the actual folder path of the folder that will become invisible. Include the folder’s full title at the end of the path. Enter the rest of the command line exactly as above and press Return.

folder2

Open Windows Explorer, and go to the folder location you entered in the command line. You should find that the folder you included in the above command line is no longer there! Well it is, but it’s invisible.

Of course, you can also make the folder reappear again. Input the following in the Command Prompt: attrib -s -h “C:\enter\folder\path\here” Then press Return and close the Command Prompt. Return to the same Windows Explorer folder where the previously¬†invisible folder should have now reappeared.

folder 3

It’s a kind of magic! With this trick you can make your folders¬†invisible when required. The folders will not display even if you have set Explorer to show hidden files and folders.

Share this post

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

10 comments

  1. Mountainking

    Oh nose. Fail post bro. Attrib command has been around since the DOS days…All that command did was to set the folder to system and hidden attribute. Of course, it would be visible In Windows if the show hidden/system folder are ticked.

  2. pceasies

    You can always view these by just unchecking “Hide protected operating systems files” like 4 lines under Show hidden files in Folder Options.

    As with every version of Windows, you need quotes if the path contains spaces. You can type part of the name and use the Tab key to autocomplete and it will put the spaces in and quotes.

  3. hadron

    First things first. The above article is at best misleading. When using the command prompt, it depends on operating system. I could not get this ‘trick’ to work as it is laid out above. However upon so research, I have found out why. Working from left to right: as far as Windows 7 is concerned the +s switch is not required and the quotation marks given on either side of the file path (ie ” file path “) are also not required. The irony is mind you in Windows 7, you do not need the command prompt to hide a file or folder, just right click on the file, go down to properties and check hidden file.
    Second darthyoda6, reread the second line of the above article. He says extactly that. You are repeating it.

  4. IDH1

    Well I tried this 4 times and I could always see the folder, it was shaded out like a hidden folder. The only change was in properties which had Hidden grayed out and read only a solid color blue.