Is it possible to redirect output to multiple devices/files?
program.exe 1> output1.txt 1>output2.txt
This only produces
output2.txt in Windows.
If you're using a Unix/Linux shell, or Cygwin on Windows, you can use tee to copy stdin to multiple output files:
Not sure if there's a tee equivalent in native Windows cmd.exe.
Most shells, such as bash, let you combine stdout and stderr. Here's the syntax to merge stdout and stderr from program.exe and pipe it into tee.
From the man page -
On Windows, you can use something similar to this.