你是点右键菜单里的显示隐藏文件时显示无法找到脚本的吧,那个不是病毒,我女朋友的电脑也遇到过,你可以在记事本里写下以下内容,保存为hidefile.vbs(注意后缀名要改成vbs),并放到C:\Windows文件夹下就行。其实这个只是一个快捷功能,并不是所有系统的右键菜单里都有那一项,真正看隐藏文件的方法是在组织里选择“文件夹和搜索选项”,点“查看”,把“隐藏受保护的操作系统文件”前面的勾取消,并选择下面的“显示隐藏的文件、文件夹和驱动器”,再点确定就行。
以下是hidefile.vbs文件里的内容
——————————————————————————————————————————
Dim WSHShell
Set 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 if
Set WSHShell = Nothing
WScript.Quit(0)
——————————————————————————————————————————
您好,希望我能解决你的问题
--------------------------
Dim WSHShell
Set 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 "+e"
else
WshSHell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden", "1", "REG_DWORD"
WshSHell.SendKeys "+e"
end if
Set WSHShell = Nothing
WScript.Quit(0)
----------------------------------
复制以上文本到记事本,另存为hidefile.vbs文件,粘贴到c:\windows文件夹下
如果还出现hidefile.vbs无法找到情况,可能就是中了VBS病毒了,下载专杀杀一下毒
麻烦`采纳.··.··.·
标签:文件,win7,hidefile