The Windows Scripting Host
Run JavaScript and Visual Basic scripts natively within Windows 95 or Windows NT 4.0
By Paul Modzelewski
As a Microsoft Windows user, you may have been frustrated by the lack of scripting tools. If only there were a tool comparable to AppleScript on the Macintosh. DOS batch files aren't really Windows-aware, and third-party tools have some problems: They usually cost a lot of money, and you can't depend upon a user having them installed. Luckily, Microsoft recently released its Windows Scripting Host, the long-awaited replacement for DOS batch files. To understand exactly what the Windows Scripting Host is and why you should care, you need to understand a little bit about Active Scripting.
You'll need the Windows Scripting Host to use the examples presented in this article. Microsoft's latest version of the Internet Client SDK (a.k.a. Platform SDK, ActiveX SDK, and Sweeper) includes it. If you don't want to download over 100MB just to get it, you can also find it at www.microsoft.com/management/WSH.htm.
Continues. . .
Published as Operating Systems in the 02/10/98 issue of PC Magazine.