Реферат: Networking Principles Essay Research Paper DialUp Scripting
commands
endif
Executes the series of commands if condition is TRUE.
Example:
if $USERID == “John” then
transmit “Johnny^M”
endif
label :
Specifies the place in the script to jump to. A label must be a unique name and follow the naming conventions of variables.
set port databits 5 | 6 | 7 | 8
Changes the number of bits in the bytes that are transmitted and received during the session. The number of bits can be between 5 and 8. If you do not include this command, Dial-Up Networking will use the properties settings specified for the connection.
Example:
set port databits 7
set port parity none | odd | even | mark | space
Changes the parity scheme for the port during the session. If you do not include this command, Dial-Up Networking will use the properties settings specified for the connection.
Example:
set port parity even
set port stopbits 1 | 2
Changes the number of stop bits for the port during the session. This number can be either 1 or 2. If you do not include this command, Dial-Up Networking uses the properties settings specified for the connection.
Example:
set port stopbits 2
set screen keyboard on | off
Enables or disables keyboard input in the scripting terminal window.
Example:
set screen keyboard on
set ipaddr string
Specifies the IP address of the workstation for the session. String must be in the form of an IP address.
Examples:
szIPAddress = “11.543.23.13″