Mar 11, 2007

How to Hide And Unhide Folder in Windows XP

This is the very simple approach for how to hide a folder and unhide it again. Basically, there are two ways to do that.

By Changing Folder Properties:

  • Right click on Folder you want to hide and check the Hidden box under Attributes and click Apply.
  • Another window will pop up – asking if you want to “Apply changes to this folder, subfolders and files”. Don’t change anything there and click OK.
  • It takes some time to change the attributes of the folder depending upon the size of the folder and then press OK. Now that folder is Hidden.



How to view hidden folders:

  • Click on Start –> Control Panel –> Folder Options.
  • Click on the View Tab and check the radio button “show hidden files and folders” and press OK.
  • This will enable you to see the hidden file.

Note: You can differentiate between normal and hidden folders. You can right click on the hidden folder and uncheck the hidden box and apply the changes to unhide it.




By using DOS Command – attrib:

You can do the same with DOS command also at Command Prompt. Here, We will use the DOS Command “attrib” to accomplish the same task.

  • Click on Start –> Run –> cmd
  • For example, I have a directory called “Perl” in root directory and I want to hide that directory with the help of attribute command.
  • Change the directory one level back to the directory you want to hide.
  • Type attrib +h Perl and hit Enter. That’s all, Perl folder is hidden now. You can type dir on the command prompt and you will not see Perl there in root directory.
  • Type attrib –h Perl to unhide the folder.



Little more about attrib: attrib is a DOS command to change the attribute of folder and files at command prompt. + and – are used to set and clear the attrib respectively.

Available attributes are:
  • R – Set the file Read-Only
  • A – Set Archive attribute to files.
  • S – System file attributes
  • H – Hidden file attributes.

Note: attrib will show attributes of all the files in the current directory if typed without any switches.

22 comments:

  1. but this is a very common way to hide a folder. is there any other way by that no other person can able to open the folder. using dos

    ReplyDelete
  2. That's correct, Firos. I will be posting another one for advanced users soon.

    ReplyDelete
  3. niceone thanks. just what i needed. dumb ass veoh tv software hid my videos folder.

    dont install veoh tv..its crap.

    ReplyDelete
  4. attrib -h unhide but it so lazy to unhide 1000 folder & files

    ReplyDelete
  5. thank u,
    attrib command working.
    Good procedure to unhide folders after confiker and isass.exe worm attack.
    Thank u again.

    sasnik

    ReplyDelete
  6. Thank u,
    attrib command working.
    Good procedure to unhide folders after confiker and isass.exe worms attack.

    Thank u again.

    ReplyDelete
  7. Hi I am Zafar Ali
    There is another Directory that name is (System Volume Information)That is hide and the box of unhide is invisable I can't touch that how i will unhide the said Directory Please help me to UNHIDE the same.....

    Thanks

    ReplyDelete
  8. I really need some help, I need to get to some hidden folders but in the list under "View" in "Folder Options" there is no "Show hidden files and folders" option just "Do not show hidden files and folders" which is constantly checked and I can't change it!

    ReplyDelete
  9. You can always use the open source hide/unhide utilities that utilize Windows Alternate Data Streams. Read more at:

    http://chaptersinwebsecurity.blogspot.com/2009/04/python-and-alternate-data-streams.html

    ReplyDelete
  10. I'm sorry but it didn't work for me!!!

    ReplyDelete
  11. but the show hidden files option is not taking effect and i can't view it.plz help

    ReplyDelete
  12. but the show hidden files doesn't take effect.what to do?plz help

    ReplyDelete
  13. Hi I am Tan
    There is an Directory that is hide and the box of unhide is invisable in window, I can't touch that how i will unhide the Directory. I have tried by using command dos, but it shows no directory found. could someone please help me to solve this issue.

    Thank you

    ReplyDelete
  14. I got it now, thank you for sharing these guidelines and keep it up!

    Alex - HomeEncounter

    ReplyDelete
  15. I think any one can get the solution in the following link.I used a software to solve this hide problem.check this please!!!!

    Thanks

    http://wakeupbangladesh.blogspot.com/p/how-to-unhide-hidden-folder-or-file.html

    ReplyDelete
  16. this is exactly what i was looking for as a beginner.easy to follow and comprehend

    ReplyDelete