the following command can be used to log console application output to a text file:
c:\>test.exe > output.txt
Is there a way to do this and display the output in a console window at the same time?
the following command can be used to log console application output to a text file:
c:\>test.exe > output.txt
Is there a way to do this and display the output in a console window at the same time?
You can use the following command in this case as a workaround. This will save the output to file and then prints the file.
c:\>test.exe > output.txt && type output.txt