How to pipeline program result to the screen AND to a documents under Windows
I have a command which I require to evaluate in actual time (i.e. see its result in the command punctual MyProgram.exe ) and also to have a log apply for later examination ( MyProgram.exe > log.txt )
How can I make a solitary instance of the program to contact both results?
0
Dani 2019-05-13 02:19:22
Source
Share
Answers: 2
Either make use of among several tee clones for Windows.
Or if you are making use of PowerShell, you can make use of Tee-Object.
0
vartec 2019-05-17 12:00:11
Source
Share
Related questions