问题
Has anyone had any experience targetting WSH
in the way that VBScript
, JScript
, PerlScript
, xbScript
and ForthScript
(among other) do, such that the language can be used from the command line and embedded in server-side web pages? Where do I go to get that kind of information?
回答1:
These are called Windows Script Engines and are implemented by exposing the engine via COM. There is a lot documentation on MSDN, and the actual interfaces are fairly straight forward.
来源:https://stackoverflow.com/questions/174240/writing-a-language-for-the-windows-scripting-host-wsh