您的位置首页百科知识

C:\windows\hidefile.vbs

C:\windows\hidefile.vbs

新建个记事本 复制仿码蔽下面的代码进去 然后另存为hidefile.vbs,注意后缀名一定要是vbs,如果看不到后备州缀名,就在文件选项夹里把隐藏已知文件类型的扩展名那个选项取消。然后把这个fidefile.vbs放到C:\windows\里再试试。以下是代码: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)