简体   繁体   English

有没有办法将stdin重定向到Windows终端机(cmd.exe)中的“ type”命令?

[英]Is there a way to redirect the stdin to the “type” command in windows terminal(cmd.exe)?

理想的结果是在屏幕上显示我在终端上键入的内容的type命令。

type con

它也可以重定向到文件

type con >text.txt

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM