Code to create a Batch file that disable the option "hide protected operating system files"

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

Code to create a Batch file that disable the option "hide protected operating system files"

问题

Sure, here's the translation:

我想创建一个批处理文件来禁用Windows选项“隐藏受保护的操作系统文件”(您可以在附件中的图像中看到我要禁用的选项)。

你可以帮助我吗?

非常感谢!

Code to create a Batch file that disable the option "hide protected operating system files"

英文:

I would like to create a batch file to disable Windows option "hide protected operating system files" (You can see in the image in attachment the option that I want disable).

Can you help me?

Thank you very much

Code to create a Batch file that disable the option "hide protected operating system files".

答案1

得分: 0

更改注册表设置ShowSuperHidden,请使用以下命令:

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d "1" /f

这将将注册表项设置为TRUE=1以显示这些系统文件。
可能需要重新启动"explorer.exe":

taskkill /im explorer.exe /f
explorer

第二个命令重新启动了explorer.exe
有关这些注册表修改的更完整列表,可以在 GitHub 上找到

英文:

Change the registry setting ShowSuperHidden with the following command:

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d "1" /f

It sets this registry entry to TRUE=1 to show these system files.
Restarting the "explorer.exe" may be necessary

taskkill /im explorer.exe /f
explorer

The second command restarts explorer.exe.
A more complete list of these registry modifications can be found at GitHUB.

huangapple
  • 本文由 发表于 2023年6月30日 00:30:00
  • 转载请务必保留本文链接:https://go.coder-hub.com/76582971.html
匿名

发表评论

匿名网友

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

确定