[英]Using pipe in Windows Command line
I'm trying to pipe a string into another command. 我正在尝试将字符串传递到另一个命令中。 The following snippet shows an example which does not work: It only starts Telnet, but does not "type"
open 1.2.3.4
into the running telnet application. 下面的代码片段显示了一个不起作用的示例:它仅启动Telnet,而不“键入”
open 1.2.3.4
到正在运行的telnet应用程序中。
echo open 1.2.3.4|telnet
How can I "write" open 1.2.3.4
after Telnet has been started? Telnet启动后如何“写”
open 1.2.3.4
?
(I know that there is telnet 1.2.3.4
- this is only a sample...) (我知道有
telnet 1.2.3.4
这只是一个示例...)
Telnet in Windows is not scriptable. Windows中的Telnet不可编写脚本。 This free tool is.
这个免费的工具是。
Telnet Scripting Tool v.1.0
Telnet脚本工具v.1.0
by Albert Yale ay@aci.qc.ca阿尔伯特·耶鲁(ayr Yale)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.