Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Telnet: set

Published: April 17, 2012

Updated: April 17, 2012

Applies To: Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Vista, Windows XP

Sets options. For examples of how this command can be used, see Examples.

set [bsasdel] [crlf] [delasbs] [escape <Char>] [localecho] [logfile <FileName>] [logging] [mode {console | stream}] [ntlm] [term {ansi | vt100 | vt52 | vtnt}] [?]

 

Parameter Description

bsasdel

Sends Backspace as a Delete.

crlf

Sends CR & LF (0x0D, 0x 0A) when the Enter key is pressed. Known as “New line mode”.

delasbs

Sends Delete as a Backspace.

escape <Character>

Sets the escape character used to enter the Telnet client prompt. 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 the CTRL key while you type the character that you want to assign.

localecho

Turns on local echo.

logfile <FileName>

Logs the current Telnet session to the local file. Logging begins automatically when you set this option.

logging

Turns on logging. If no log file is set, an error message appears.

mode {console | screen}

Sets the operation mode.

ntlm

Turns on NTLM authentication.

term {ansi | vt100 | vt52 | vtnt}

Sets the terminal type.

?

Displays Help for this command.

  1. You can use the unset command to turn off an option that was previously set.

  2. On non-English versions of Telnet, the codeset <option> is available. Codeset <option> sets the current code set to an option, which 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.

Set the log file and begin logging to the local file tnlog.txt

set logfile tnlog.txt

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.