如何在 Windows NT 4 中运行 VBScript?
我有一个 VBScript,我计划每天在许多 Windows 服务器上运行它。 在 Windows 2000 和 2003 中,该脚本运行良好,因为这两个操作系统都有 csript.exe。 然而,在Windows NT 4中,似乎没有这个可执行文件。
是否有替代/选项可以在 Windows NT 4 中运行 VBScript?
I have a VBScript which I am scheduling to run daily on many Windows servers. In Windows 2000 and 2003, the script worked fine as the two OS have csript.exe. However, in Windows NT 4, it does not seem to have this executable.
Is there an alternative/option to run the VBScript in Windows NT 4?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要 WSH 5.6。 它应该在 Windows 更新上可用,或者您可以下载它 此处。 您知道 NT4 不再受支持吗?
You need WSH 5.6. It should be available on Windows Update or you can download it here. You know NT4 isn't supported any more?
</serverfault>
根据这篇 MSDN 文章,WSH 5.6 已可用并在 NT 4.0 上运行:
http: //msdn.microsoft.com/en-us/library/ms974613.aspx
但是,当我去下载中心获取 Windows Script Host 时,5.6 版本仅声称适用于 Windows 2000 和 Windows XP 。 有一个更新的版本,5.7,但它说它只支持 XP。
下载中心: http ://www.microsoft.com/downloads/en/results.aspx?freetext=windows+script+host&displaylang=en&stype=s_basic
所以,也许微软删除了 NT,因为它已经结束了-生活过吗? 或者也许他们对 5.6 做了一个小更新,使其与 NT 4.0 不兼容。
According to this MSDN article, WSH 5.6 was available and ran on NT 4.0:
http://msdn.microsoft.com/en-us/library/ms974613.aspx
However, when I go to the Download Center to get Windows Script Host, the 5.6 version only claims to be avaialble for Windows 2000 and Windows XP. There is a newer version, 5.7, but it says it's only supported on XP.
Download Center: http://www.microsoft.com/downloads/en/results.aspx?freetext=windows+script+host&displaylang=en&stype=s_basic
So, perhaps Microsoft removed NT because it has been end-of-lifed? Or perhaps they did a minor update to 5.6 that made it incompatible with NT 4.0.