Session Script
This command runs a script file on the named session.
Syntax
Session Script scriptfile, command_line, [session_name]
Synonyms
SS SC
Parameters
The following table describes the parameters of the Session Script command:
| Parameter | Description |
|---|---|
| scriptfile | The full path name of the script file |
| command_line | The optional command or data to pass to the script |
| session_name | The name of the session where the script will run |
Examples
The following example runs the DISPBOX.WIS demonstration
script on a session named "Mail."
* The script line was run from the session named "winteg1".
Session Script "example\script\dispbox.wis", , MailRelated Script Commands
Execute, Script, Session Execute