Keep stdout on screen AND in File
- by user18771
I open a command prompt window in XP. There I run a command line program (foo.exe) and I want to capture stdout in a file. So I run it like this:
foo fooResult.txt
However, at the same time I would like stdout to still be fed to the screen of the command prompt window. What is the syntax for that?