cmd输出到屏幕同时保存到文件

方法使用powershell命令:

powershell "dir | tee test.txt"

 

posted @ 2016-09-29 13:15  远洪  阅读(2738)  评论(0)    收藏  举报