How to pipe program output to the screen AND to a file under Windows [closed]

Either use one of many tee clones for Windows.

Or if you're using PowerShell, you can use Tee-Object.


You want a unix tee clone like this one or this one. I'm sure there are others, but, well, your Google for 'windows tee' is as good as mine.