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.

Example:

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
nuiphaoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.