Wednesday, February 24, 2016

Windows Command line redirect stdout and stderr to the same file

I keep forgetting how to do this, so:
Windows Command line redirect stdout and stderr to the same file like this:

someprog.exe > log.txt 2>&1

No comments:

Post a Comment