运行一个程序的时候出现:
Windows Script Host access is disabled on this machine. Contact your administrator for details.
解决就是把下面的内容另存为:wsh.inf,右键-install(安装) 就可以了,INF 代码
[Version] Signature="$CHICAGO$" [DefaultInstall] DelReg=Del [Del] HKCU,"Software\Microsoft\Windows Script Host\Settings","Enabled" HKLM,"SOFTWARE\Microsoft\Windows Script Host\Settings","Enabled"