windows cmd.exe 将程序 stdout 输出到文件中 问题背景:通过 cmd.exe 调用程序,会有一些输出信息,在 cmd 中不方便查阅,所以需要导入文件中。 例如 方法: 可以在其路径下看到