Chapter 6. Input and Output


It’s rare to need a script that doesn’t involve some form of user interaction. At the very least, you might need to display some kind of completion message as an indication that your script has finished running. Sometimes, you’ll need more complex interaction, such as the ability to ask Yes or No questions, get server names and other information, and so forth.

VBScript has very limited interactive capabilities. If you’re expecting to create even simple dialog boxes like you’ve seen Visual Basic programmers do, forget about it: VBScript doesn’t provide a dialog builder and doesn’t provide any means for programmatically creating ...

Get VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows® Administration now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.