在WIN7下的telnet命令的使用也有些特别。
首先得在cmd下输入telnet进入telnet模式,在telnet模式下可以输入好几条命令,
Microsoft Telnet> ?/help
Commands may be abbreviated. Supported commands are:
c - close close current connection 关闭当前连接
d - display display operating parameters 显示操作参数
o - open hostname [port] connect to hostname (default port 23). 连接到主机(默认端口23)
q - quit exit telnet 退出Telnet
set - set set options (type 'set ?' for a list) 设置选项(键入‘set ?'获得列表。escape x, x是进入telnet客户端提示的escape字 符)
sen - send send strings to server 将字符串发送到服务器
st - status print status information 打印状态信息
u - unset unset options (type 'unset ?' for a list)解除设置选项(键入‘set ?'获得列表)
?/h - help print help information 打印帮助信息