Home
> Commands N-Z
> Commands T
TELNET
Description
| Syntax
| Parameters
| Switches
| Related
| Notes
| Examples
| Errorlevels
| Availability
Starts terminal emulation. The Windows Terminal program is started,
the Telnet port is opened, and the Telnet prompt is displayed. This
command is available only if the TCP/IP protocol has been installed.
Syntax
TELNET
/?
TELNET
[-a]
[-e escape_character]
[-f log_file]
[-l user_name]
[-t terminal_type]
[host_name
[port_number]]
Parameters
- host_name
(NTXP)
- Specifies the hostname or IP address of the remote
computer to connect to.
- port_number
(NTXP)
- Specifies a port number or service name.
Switches
- /?
(NTXP)
- Displays help.
- -a
(NTXP)
- Attempt automatic logon. Same as -l
option except uses the currently logged on user's name.
- -e escape_character
(NTXP)
- Escape character to enter telnet client prompt.
- -f log_file
(NTXP)
- File name for client side logging.
- -l user_name
(NTXP)
- Specifies the user name to log in with on the remote
system. Requires that the remote system support the TELNET
ENVIRON option.
- -t terminal_type
(NTXP)
- Specifies terminal type:
Related
none.
Notes
Telnet simplifies TCP/IP terminal emulation with Windows NT.
First, telnet starts the telnet network service. Then telnet
starts TERMINAL.EXE, instructing it to open the telnet port.
The Telnet network service can also be started with the Control
Panel Services option or at the command prompt with the
NET START
service command.
Commands:
- bye Ends telnet.
- close Disconnects from a host.
- connect host [port] Connects to the specified host.
Host can be a host name or Internet address and must be running
the TELNET service. If port is not specified, telnet will
attempt to contact a telnet server at the default port.
- crmod [on | off] Sets carriage return mode. Required
only for hosts that require local echoing.
- debug Not currently supported.
- escape Sets the escape character.
- help or ? Provides information about a command.
- open host [port] Same as connect.
- options Toggles viewing of telnet options processing.
- quit Same as bye.
- status Displays the current status of telnet.
Examples
none.
Errorlevels
none.
Availability
- External
-
- DOS
-
none
- Windows
-
none
- Windows NT
-
NT3.1
NT3.5
NT4
NT2000
NTXP
NT2003
Last Updated: 2004/03/01
Direct corrections or suggestions to:
Rick Lively