shortcutmania.com

Microsoft Telnet Client command line arguments and commands


Microsoft Telnet Client command line arguments

telnet [-a][-e escape char][-f log file][-l user][-t term][host [port]]
-aAttempt automatic logon. Same as -l option except uses the currently logged on user's name.
-eEscape character to enter telnet client prompt.
-fFile name for client side logging
-lSpecifies the user name to log in with on the remote system. Requires that the remote system support the TELNET ENVIRON option.
-tSpecifies terminal type. Supported term types are vt100, vt52, ansi and vtnt only.
hostSpecifies the hostname or IP address of the remote computer to connect to.
port    Specifies a port number or service name.


Microsoft Telnet Client commands - accessible by using the control character. The default control character is CTRL+]

c- closeclose current connection
d- displaydisplay operating parameters
o- open hostname [port]       connect to hostname (default port 23).
q- quitexit telnet
set- setset options (type 'set ?' for a list)
Set commands:
bsasdelBackspace will be sent as delete
crlfNew line mode - Causes return key to send CR & LF
delasbsDelete will be sent as backspace
escape xx is an escape charater to enter telnet client prompt
localecho   Turn on localecho.
logfile xx is current client log file
loggingTurn on logging
mode xx is console or stream
ntlmTurn on NTLM authentication.
term xx is ansi, vt100, vt52, or vtnt
sen   - sendsend strings to server
st- statusprint status information
u- unsetunset options (type 'unset ?' for a list)
Unset commands:
bsasdelBackspace will be sent as backspace
crlfLine feed mode - Causes return key to send CR
delasbsDelete will be sent as delete
escapeNo escape character is used
localecho   Turn off localecho.
loggingTurn off logging
ntlmTurn off NTLM authentication.
?/h- helpprint help information