MS-DOS and Windows command line telnet command
The telnet command enables a user to telnet to another computer from the command prompt. Additional information about with using telnet from any version of Windows may be found on our telnet help page.
Unless there are no other options, we suggest not using Telnet for security reasons. Consider SSH as an alternative.
Telnet is an external command that is available for the following Microsoft operating systems as telnet.exe.
telnet [host [port]]
|host||Specifies the hostname or IP address of the remote computer.|
|port||Specifies the port number or service name.|
Commands available through the actual telnet program
|close||Closes the current connection.|
|display||Displays operating parameters.|
|open||Connects to a site.|
Set options (type 'set ?' for a list).
|status||Print status information.|
|unset||Unset options (type 'unset ?' for a list).
|?/help||Print help information.|
Telnet to the computer myhost.com