Microsoft DOS telnet command

Quick links

About telnet
Availability
Syntax
Examples

About telnet

Enables a user to telnet to another computer from the command prompt.

The availability of this command has only been listed as Windows 2000 and Windows XP because these are the only two versions of Microsoft Windows that support the telnet command from the command prompt (with additional switches). Additional information and help about using telnet from any version of Windows can be found on our telnet help page.

Availability

The telnet command is an external command that is available in the below Microsoft operating systems.

Windows 2000
Windows XP

Syntax

telnet [host [port]]

host specifies the hostname or IP address of the remote
computer to connect to.
port Specifies the port number or service name.

Commands available through the actual telnet program:

close close current connection
display display operating parameters
open connect to a site
quit exit telnet
set

set options (Type 'set ?' for a list)

NTLM Turn ON NTLM Authentication.
LOCAL_ECHO Turn ON LOCAL_ECHO.
TERM x (where x is ANSI, VT100, VT52, or VTNT)
CRLF Send both CR and LF
status print status information
unset unset options (Type 'unset ?' for a list)

NTLM Turn OFF NTLM Authentication.
LOCAL_ECHO Turn OFF LOCAL_ECHO.
CRLF Send only CR (no LF is sent)
?/help print help information

Examples

telnet myhost.com

Telnet to the computer myhost.com

Additional information

  • Additional information and help with telnet can also be found on our telnet help page.