[Previous] [Table of Contents] [Next]

Chapter 8

Retrieving User Input in WSH Scripts

In Chapter 6, I introduced a few techniques for creating simple user dialog boxes. In this chapter, I'll describe several ways to invoke a dialog box for gathering user input in Microsoft Windows Script Host (WSH) scripts. VBScript supports the InputBox function to invoke an input dialog box, but WSH and JScript don't support such a function, so you have to be creative to get the same kind of input dialog box.