Understanding the Windows Scripting Host

Understanding the Windows Scripting HostOne of Windows’s most notable deficiencies when compared with other operating systems is its lack of a batch language for automating tasks. Although the underlying MS-DOS supports batch files, they are of little use in the Windows environment: under Windows 3.1 you can’t even launch Windows programs from batch files. Support staff wishing to automate tasks for their users have been forced to use third-party tools like Wilson WinBatch or JP Software’s Take Command. Because these tools are not part of Windows, they must be separately installed before they can be used. Licensing of these toolsmeans that additional costs are often incurred, which, if the budget is not available, becomes a problem.
Read more

Simple Dialogs in WSH

Simple Dialogs in WSHMost WSH scripts show results in dialog boxes or ask for user input. This chapter introduces a few techniques offered in JScript and VBScript to create dialogs within WSH scripts.
Read more