我想将批处理脚本的标准输出设置为转到文件.如果可能的话,我想在脚本中执行此操作.
注:我不希望这样做:foo.bat > StdOut.txt
foo.bat > StdOut.txt
我想在脚本中做一些事情来将输出重定向到文件 例如:
foo.bat
:: Redirect standard output to StdOut.txt :: Insert batch code to do what I want here.
windows scripting batch-file
batch-file ×1
scripting ×1
windows ×1