in reply to How can I redirect STDOUT and STDERR from a program on WIN32?
Simplest is from the command window. For STDOUT:
For STDERR