如何发送数据到命令提示符使用托斯卡和如何获取输出?
例:输入cmd: ipconfig
输出:ipv4地址…10.234.567.10
我需要缓冲10.234.567.10 ipv4Address。
(最初要求和解决支持中心)
最佳答案社区管理员
The easiest way to get access to the output is usually to send it to the clipboard, then use the TBox Clipboard module.<\/p>
Note that with many uses of TBox Start Program you don't need to run cmd and can just directly enter the command\/executable in the path, but in this scenario it only seems to work if you use cmd - I guess because it can't treat the \" | clip\" as part of the path or as an argument per se.<\/p>","className":"post__content__best_answer"}">