Picture of How to Make System Hidden Files and Folders
Have you ever seen a hidden folder? You probably have, as they are easy to make and view. However, there is an attribute that makes a folder or file system hidden. These are harder to make; in fact, very few people know how. They are also hard to see. In this Instructable, I will be showing you how to make one.

A system hidden file or folder is not a substitute for encryption. Do NOT rely on this Instructable to securely hide data.
Remove these adsRemove these ads by Signing Up

Step 1: Making the Folder or Files

Picture of Making the Folder or Files
x folder passwords file.bmp
Ok. So what you're going to do now is make a folder on the C Drive. As with last time I made a folder there, I will call mine x. Inside it, I have put a text file called Passwords.


You can place whatever you want within this folder.

Step 2: Making A File System Hidden

Picture of Making A File System Hidden
run cmd.bmp
cmd 1 open.bmp
cmd 2 x.bmp
cmd 3 x typed.bmp
cmd 4 done.bmp
We will now be using command prompt to make the hidden. If you want to make the folder hidden, go on to the next step.

OK. Open Command Prompt by going to Start, Run and typing "cmd". This will open Command Prompt. Type the following:

Press ENTER.

Now, type this:

attrib FILENAME.EXT +s +h
Then press ENTER.
In my Command Prompt, I would type:
attrib Passwords.txt +s +h

This will make that file system hidden. I will show you how to view it in the final step.

Step 3: Making a Folder System Hidden

Picture of Making a Folder System Hidden
2 cmd cd.bmp
2 cmd typed.bmp
2 cmd done.bmp
Now, we get to make a folder system hidden. We will continue from Step 1.

Open Command Prompt by going to Start, Run and typing "cmd". This will open Command Prompt.

In Command Prompt, type the following:

Press ENTER.
Then, type this:

attrib x +s +h
Press ENTER again.
If you named the folder something other than x, then adjust it as necesary.

Congratulations! You just made a system hidden folder. It will be hidden from prying eyes, unless they know how to view it, which I will show you next.
AntonV11 month ago

Also you can customize your folder and make it look organized with FolderMarker. Trust me there would be no need to hide fancy folders :)

datadan made it!1 year ago

Thank you for the instructable. I tend to keep standard hidden files visible, and it is nice to know how to mark a file as 'system', so that it remains hidden under that category. I used this on a special administration folder, that is a quick link to many settings in Windows 8. I have pinned the folder to my Start screen, so there is no need to show it on the desktop as well. Thanks again for the write-up.

System File.jpg
Or you can just select the file go into properties and check "Hidden"
nirjhar4 years ago
I SAY HOW TO DO THIS: Start --> Run-->cmd-->ok type this command carefully: attrib "path" +s +h then press ENTER remember ,you have to write the folder location on path location on above command. Example: Suppose You have folder named Nirjhar inside d: (d drive);then...... command should be this: attrib D:\Nirjhar +s +h or attrib "D:\Nirjhar" +s +h UNHIDE THIS FOLDER attrib D:\Nirjhar -s -h or attrib "D:\Nirjhar" -s -h [SO WHAT IS THE MAIN FUNDA ABOUT SUPER HIDDEN FOLDER?] If you hidden any system folder then it will be turned as Super Hidden Folder. Enjoy!!!!!!!!!!! Reply me and ask ur question at
How about make a batch script file loops through the hidden high level hidden folders and do attrib -s -h
wcook33 years ago

so what if you wanted to disguise a whole bunch of folders at onnce ? and can you disguise files on the normal drive where my doc is etc ?
vkashyap3 years ago
what if i have to hide folder in some other drive,n sub folder??
yasin1213 years ago
what if its a folder
erikals5 years ago
really cool instructable thank you
deeka5 years ago
excelent!!!! thanks
Foaly76 years ago
Could someone write an 'ible to make a batch file that hides/unhides files/folders like this?
Crazy Leprecaun (author)  Foaly76 years ago
It's really not that hard to make one. Just type this:

attrib FILENAME.EXT +s +h

If the file name is more than one word, such as Cool stuff.txt, then type:

attrib Cool*.txt +s +h

If you are hiding a folder, then just take out the extension.

Also, you MUST place this batch file in the same folder as the file/folder you are trying to hide/unhide.
pyro5156 years ago
I don't want to be a critic but, if you use something like this....

ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

when you change the folder options you still cant see the folder

Crazy Leprecaun (author)  pyro5156 years ago
I went to your Instructable and read it. There is one flaw in it. Someone could easily right-click on the batch file and select EDIT. This would reveal the source code, and allow said person to see the pasword. However, if you used a BAT to EXE converter, then finding the password would be much harder.
Its actually super easy to reverse engineer an exe file to a bat. PM me.
tell that to the crazy leprecaun i aready know how to do that ind i have tested it if you delete the batch file its self your file is completly secure and you cant get it back unless you use another batch file
No, you just pretty much copy n' paste the reverse engineered batch file and run it! It works even if the original one is deleted...
i know except im cheap and use a bat to exe converter
Just for the sake of being thorough you should point out that you can reverse the process by changing the "+" signs to "-" signs.

So using your example you could type

attrib -s -h

and the files would reappear. You could even write a batch file to turn it on and off rather than always changing your preferences in Folder Options.

Good instructable though, handy to keep most people from seeing the file but still not very secure. I'd still put the files in a password protected zip to be sure or even hide them in a picture
Crazy Leprecaun (author)  jphphotography6 years ago
Ok, thank you for the input. I will adjust the Instructable to say that. Also, I have made an Instructable on how to hide files inside pictures. You can see it here.