当前位置:百问九>百科问答>hidefile.vbs编辑

hidefile.vbs编辑

2023-03-20 07:48:05 编辑:zane 浏览量:666

hidefile.vbs编辑

Dim WSHShellSet WSHShell = WScript.CreateObject("WScript.Shell")sTitle1 = "SSH=0"sTitle2 = "SSH=1"If WSHShell.RegRead("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden") = 1 Then'读取注册表中的键值,如果已经隐藏则写入注册表使其显示,然后歼握刷新枣改伏 WSHShell.RegWrite "HKCU\凳携Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden", "2", "REG_DWORD" WSHShell.SendKeys "{F5}+{F10}e"Else'读取注册表中的键值,如果已经显示则写入注册表使其隐藏,然后刷新 WSHShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden", "1", "REG_DWORD" WSHShell.SendKeys "{F5}+{F10}e"End IfSet WSHShell = NothingWScript.Quit (0)

版权声明:文章由 百问九 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.baiwen9.com/answer/105404.html
热门文章
二维码