![](/images/new-backgrounds/1119592/11959299x1.webp)
SCRIPT
S C R I P T
Execute a script file
The SCRIPT command locates a script file and executes the commands in the script file.
Notes
Script files reside on a host system and contain a collection of Model 3395/3395A Terminal Server commands. You or the network manager can create these scripts with the host's text editor if you have the appropriate privileges on the host. You can execute a script file with the SCRIPT command, or the network manager can specify that the terminal server execute a script automatically when you log on to a port.
Once you execute a script, you cannot stop it. The session switching characters and the <Break> key do not function while a script is executing.
Syntax |
|
|
| SCRIPT | |
Abbreviation |
|
|
| None |
|
Where | Means |
|
“/pathname/ | Execute the script file you specify in the | |
| variable at the location you specify in the pathname portion of the variable. Include |
the complete pathname to the file, and precede each directory name or filename with a backslash (/). The
Some host operating systems, including most UNIX implementations, are case sensitive. These operating systems interpret "SCRIPTNAME" and "scriptname" as different names because one is in
Example
This command executes a script called loginsetup in the directory /Scripts/Chris.
TS3395> script “/scripts/chris/loginsetup”
Searching for script file. Please wait. . .