Several areas of functionality have been addressed in this latest version of the Windows Script Host (version 5.6).
- Argument handling has been improved Handling and documenting command line arguments is simpler. The process of integrating your scripts with other command line scripts has been simplified, and it is easier to create scripts that can supply the user with help information. Refer to the following table for information on the WSH language features that connect you to this new functionality.
- You can run scripts remotely You can load scripts onto several remote computer systems and start them all running simultaneously. While a remote script is running, you can check its progress. After it has finished, you can ensure that it ran correctly or determine the cause of its premature termination. There is a new dispatch object used to create remote WSH objects the Controller object. In addition, there is a new object that represents an instance of a running script the Remote WSH object.
- When you start new processes, you can treat them as objects You determine the status of spawned processes and access their standard I/O streams.
- You can access the current working directory You can determine/modify the active process's current working directory.
- Security issues unique to scripts have been addressed A new security model makes distributing and running scripts safer.