2012-10-25 13:55:00
现象——
运行任何 .vbs 脚本,Windows Script Host 提示 找不到脚本“xxx.vbs”的脚本引擎“VBScript”。 网页中的 vbscript 脚本无响应,也无任何报错。
解决方案——
检查以下三个注册表项:
将默认值改为C:\Windows\System32\VBScript.dll
已知可能的原因:
瑞星安装的时候会修改这三项,将所有VBS脚本截到自己的一个DLL。如果没有正确卸载,可能导致这三项没有更改回来。
参考资料: http://coldsummerwei.iteye.com/blog/940012 http://blogs.technet.com/b/instan/archive/2010/07/20/can-t-find-script-engine-quot-vbscript-quot-for-script-after-installing-ms10-020.aspx
首发:http://www.cppblog.com/Streamlet/archive/2012/10/25/193835.html