Several areas of functionality have been addressed in this latest version of the Windows Script Host (version 5.6).
To Learn About | See |
---|---|
Grouping your script's switches together. | <runtime> Element |
Defining your script's named switches. | <named> Element |
Defining your script's unnamed switches. | <unnamed> Element |
Making your script self-documenting. | <example> Element |
Sharing the environment of the current process (IOW, WSH) with a spawned process. | Exec Method |
Accessing the standard streams programmatically. | Exec Method |
Accessing environment variables programmatically. | Environment Property |
Determining whether a spawned script process is currently running. | Status Property (WshScriptExec) |
Accessing the spawned script process's StdIn input stream. | StdIn Property (WshScriptExec) |
Accessing the spawned script process's StdOut output stream. | StdOut Property (WshScriptExec) |
Accessing the spawned script process' StdErr output stream. | StdErr Property (WshScriptExec) |
Terminating a spawned script process. | Terminate Method (WshScriptExec) |
Accessing the named command-line script arguments. | WshNamed Object |
Determining whether a specific key value exists in the WshNamed object. | Exists Method |
Determining the number of switches in the WshNamed or WshUnnamed objects. | Count Method |
To Learn About | See |
---|---|
Creating a remote script object the remote WSH interface. | WshController Object |
Creating a remote script object using remote WSH interface. | CreateScript Method |
Creating a remote script object getting a handle. | WshRemote Object |
Starting a remote script process. | Execute Method |
Determining whether a remote script is currently running. | Status Property (WshRemote) |
Determining why a remote script terminated. | Description Property (WshRemoteError) |
Identifying which statement in your remote script caused it to terminate. | Line Property (WshRemoteError) |
Accessing error information after a remote script terminates. | WshRemoteError Object |
Identifying the character in the line of code that contained the error. | Character Property |
Identifying the error number representing a script error. | Number Property |
Identifying the source of the script error. | Source Property |
Identifying the line of source code that caused an error. | SourceText Property |
Handling remote object events. | Start Event |
To Learn About | See |
---|---|
Spawning a process. | Exec Method |
Accessing the object that represents running processes. | WshScriptExec Object |
Accessing process status information. | Status Property (WshScriptExec) |
Accessing the standard I/O streams. | StdOut Property (WshScriptExec) |
StdIn Property (WshScriptExec) | |
StdErr Property (WshScriptExec) |
To Learn About | See |
---|---|
Accessing the active directory information. | CurrentDirectory Property |
To Learn About | See |
---|---|
Script signing and verification. | Security and Windows Script Host |