Search code examples
cmdcd

How do you cd to a hidden system folder in Windows 10 command prompt


If I try to change directory inside the Windows 10 command prompt to a hidden system folder, even if I run as administrator, I get an Access is Denied message.

Example:

cd C:\Windows\System32\config\system

When I type in: dir /a the folder is shown

I could take ownership of the folder, but I can't help but think there is a better way.


Solution

  • On my Windows 10 machine, "system" is a file, not a directory. cd to c:\Windows\System32\config instead.