dacapo

Windows Batch Script: Redirect ALL output to a file

二次信任 提交于 2019-12-03 04:46:26
问题 I am running various Java benchmarks and would like to archive the results. I execute the (dacapo) benchmark like this: C:\VM\jre\bin\java -jar C:\benchmarks\dacapo-9.12-bach.jar %arg1% > %time::=% I pass the type of benchmark in over a parameter, thats what %arg1% is. You can see that I am redirecting the output to a textfile. Unfortunately, the first and last line of the output is still printed in the console and not into the textfile: ===== DaCapo 9.12 luindex starting ===== ===== DaCapo 9