您的位置首页生活小窍门

找不到hidefile.vbs,怎么办啊

找不到hidefile.vbs,怎么办啊

被360误杀了,自己在C:\Windows里新建一个文本文档,型前丛把下面的卜樱东西复制进去,关闭-保存。然后在打开显示文件后缀名。把刚刚建立的“新建文本文档.txt”改成“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 thenWshSHell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden", "2", "REG_DWORD"WshSHell.SendKeys "{F5}+{F10}e"elseWshSHell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\悔穗Explorer\Advanced\Hidden", "1", "REG_DWORD"WshSHell.SendKeys "{F5}+{F10}e"end ifSet WSHShell = NothingWScript.Quit(0)