Well, I have this program that I run with the help of batch. Its a PHP script that is ran by an EXE file. How can I have it that while the program is running, the output is automatically sent to a file, say log.txt, and have the output simultaneously shown on screen?
I tried something like program.exe >> log.txt, but that didnt show output on the screen.