Win32 Scripting Resources

Currently, resources that explain how to use Windows Scripting Host (WSH) and related technologies are scarce. The following publications and Web sites are some of the good resources that are now (or soon will be) available.

Although no WSH books are available at press time, several are under development. A list of forthcoming books follows. Contact the publishers for more information about when these books will be available.

  • Gunter Born, Windows Scripting Host Tutorial (Wrox Press). Expected release date: June 1999. For more information, click Future Titles on Wrox Press' Web site (
  • Thomas Fredell, SAMS Teach Yourself Windows Scripting Host in 21 Days (SAMS). Expected release date: May 4, 1999.
  • Dan Gookin, Introducing Windows Scripting Host for Windows 98 (Microsoft Press).

Many publishers have printed books about VBScript and JScript. These publishers include

  • Microsoft Press (
  • O'Reilly & Associates (
  • Wrox Press

Unfortunately, all of these publishers' books approach the scripting languages in the context of Web programming. To find books about the scripting languages, visit the publishers' Web sites and search for VBScript or JScript.

Keep in mind that one of WSH's primary functions is to glue together COM automation components such as ADO, Active Directory Service Interfaces (ADSI), Collaboration Data Objects (CDO), Windows Management Instrumentation (WMI), and Microsoft Office. Thus, you'll find resources that focus on these technologies useful when you're writing WSH scripts.

Books that you might want to look into include

  • David Sussman and Alex Homer, ADO 2.0 Programmer's Reference (Wrox Press)
  • Steven Hahn, ADSI ASP Programmer's Reference (Wrox Press)
  • Mikael Freidlitz and Todd Mondor, ADSI CDO Programming with ASP (Wrox Press)

Although these books approach programming in the context of Web development, you can easily adapt their example scripts to fit a WSH scripting environment.

Windows NT Magazine publishes Win32 Scripting Journal, a 16-page newsletter that focuses exclusively on Win32 scripting topics. See for more information about this publication.

Several Web sites provide useful information about WSH scripting. Microsoft's Windows Script Technologies Web site ( includes white papers and articles about WSH, VBScript, JScript, and related technologies.

You can download Microsoft's documentation of its two WSH scripting languages from the Windows Script Technologies Web site. The JScript documentation is in a 32-bit compiled HTML Help file named jsdoc.exe. The VBScript documentation is in a 32-bit compiled HTML Help file named vbsdoc.exe. The Web site also provides access to a WSH Programmer's Reference document ( management/wshobj.htm).

Microsoft Developer Network's (MSDN's) online library contains a wealth of information about the automation objects WSH can call, including ADO, ADSI, CDO, and WMI objects. You can find the MSDN library at

You might also find helpful Microsoft's self-paced course (number 1080) named "Essentials of Microsoft Visual Basic Scripting Edition 3.0 for Web Site Development." To obtain the course, download the file 1080_web.exe from train_cert/courses/ enm1080a.htm. Although the course's title implies that the course covers only Web site development, one section of the course focuses on WSH scripting.

Several independent Web sites contain information about WSH-related scripting. You can find WSH information at You can find Win32 scripting information at You can find add-on products that work with WSH at

Last but certainly not least, I can't overemphasize the power of Web search engines. Use your favorite Web crawler to search for Windows Scripting Host, and you'll find WSH-related information from a variety of sources. Make sure to let me know if you find a particularly informative WSH site.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.