• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7769
  • Last Modified:

how to unhide folder in command prompt

c:\windows folder is hidden.

How do I unhide this so it shows up?

I must do this in the command prompt as there is another problem I am working on.  The problem does not allow me to log into windows.

I have tried the attrib command but it did not help.


In the command prompt, I type dir.  It will not show c:\windows as a folder.

However, if I type cd windows, the c:\windows folder will appear.  But I need this to appear when I go into the regedit later to fix another problem
  • 2
1 Solution
Lee W, MVPTechnology and Business Process AdvisorCommented:
Strictly speaking the windows folder is not a hidden folder.  If it marked as hidden, that should not stop you from using it provided you know the exact path to the folder - in the case, c:\windows.

If it were hidden by the file system attributes, then attrib -h c:\windows

If that doesn't work, then there is something else wrong - I'd suggest running a chkdsk on it.
Lee W, MVPTechnology and Business Process AdvisorCommented:
So let me understand... I told you to run attrib -h c:\windows and that worked... so rather than thank me by awarding the points to me and closing the question, you are deleting it?

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now