With Telnet Client, Windows users can connect to a remote computer running a Telnet server and run applications on the remote computer or perform administrative tasks on it.

Telnet uses the Telnet protocol (part of the TCP/IP protocol suite) to connect to a remote computer over a network.

Telnet Commands

This table identifies syntax and parameters of the Telnet commands that you may use at the Telnet prompt.

To do this Syntax Short Parameters
Start Telnet Client and to enter the Telnet prompt telnet [\\RemoteServer]   \\RemoteServer Specifies the name of the server to which you want to connect. /? Displays help.
Stop Telnet Client quit q none
Connect Telnet Client to a remote computer open [\\RemoteServer] [Port] o \\RemoteServer Specifies the name of the server to which you want to connect.
Port Specifies the port that you want to use. If you do not specify a port, the default port is assumed.
Disconnect Telnet Client from a remote computer close [\\RemoteServer] c \\RemoteServer Specifies the name of the server that you want to manage. If you do not specify a server, the local server is assumed.
Set Telnet Client options set [\\RemoteServer] [ntlm] [localecho] [term {ansi | vt100 | vt52 | vtnt}] [escape Character] [logfile FileName] [logging] [bsasdel] [crlf] [delasbs] [mode {console | stream}] [?]   \\RemoteServer Specifies the name of the server that you want to manage. If you do not specify a server, the local server is assumed.
ntlm Turns on NTLM authentication if it is available on the remote server.
localecho Turns on local echo.
term {ansi | vt100 | vt52 | vtnt} Sets the terminal to the specified type.
escape Character Sets the escape character. The escape character can be a single character, or it can be a combination of the CTRL key plus a character. To set a control-key combination, hold down CTRL while you type the character that you want to assign.
logfile FileName Sets the file to be used for logging Telnet activity. The log file must be on your local computer. Logging begins automatically when you set this option.
logging Turns on logging. If no log file is set, an error message appears.
bsasdel Sets BACKSPACE to be sent as delete.
crlf Sets the new line mode, which causes the ENTER key to send 0x0D, 0x0A.
delasbs Sets DELETE to be sent as backspace.
mode {console | stream} Sets the mode of operation.
? Allows you to view the complete syntax for this command.
Turn off an option that was previously set, at the Telnet prompt unset [Option]    
Set the escape character, type Character    
Set the current code set to a non-English language codeset Option   Option Can be any one of the following: Shift JIS, Japanese EUC, JIS Kanji, JIS Kanji (78), DEC Kanji, NEC Kanji.
You should set the same code set on the remote computer.
Send Telnet Client commands send [\\RemoteServer] [ao] [ayt] [esc] [ip] [synch] [?]   \\RemoteServer Specifies the name of the server that you want to manage. If you do not specify a server, the local server is assumed.
ao Aborts output command.
ayt Sends an "Are you there?" command.
esc Sends the current escape character.
ip Interrupts the process command.
synch Performs the Telnet sync operation.
? Allows you to view the complete syntax for this command.
View the current settings for the Telnet client display  

The display command lists the current operating parameters. If you are in a Telnet session (connected to a Telnet server), to modify the parameters, press CTRL+]. This escapes from the Telnet session. (To return to the Telnet session, press ENTER.)

The following operating parameters are available:
- WILL AUTH (NTLM Authentication)
- WONT AUTH
- WILL TERM TYPE
- WONT TERM TYPE
- LOCALECHO off
- LOCALECHO on

To switch from Telnet Client to command mode, at the Telnet prompt, press CTRL+ ].

To switch back to Telnet Client, press ENTER.