英文:
Code to create a Batch file that disable the option "hide protected operating system files"
问题
Sure, here's the translation:
我想创建一个批处理文件来禁用Windows选项“隐藏受保护的操作系统文件”(您可以在附件中的图像中看到我要禁用的选项)。
你可以帮助我吗?
非常感谢!
英文:
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
答案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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论