如何在Windows 10命令提示符中切换到隐藏的系统文件夹

huangapple go评论53阅读模式
英文:

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

问题

如果我尝试在Windows 10命令提示符中更改目录到一个隐藏的系统文件夹,即使以管理员身份运行,也会收到“拒绝访问”的消息。

示例:

cd C:\Windows\System32\config\system

当我键入:dir /a
文件夹会显示出来

我可以拥有该文件夹,但我不禁想是否有更好的方法。

英文:

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.

答案1

得分: 3

在我的Windows 10计算机上,"system"是一个文件,而不是一个目录。请将cd切换到c:\Windows\System32\config。

英文:

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

huangapple
  • 本文由 发表于 2020年1月7日 00:13:48
  • 转载请务必保留本文链接:https://go.coder-hub.com/59615402.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定