专注于前端开发, 追求更好的用户体验, 更好的开发体验 [长沙前端QQ群:234746733]

开启Windows Script Host(WSH) 的方法

运行一个程序的时候出现:
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"

/ 分类: 工具 / TrackBackhttps://xhl.me/archives/641/trackback标签: none

添加新评论 »