• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

DOS Redirect output but still show in console?

crazychicken

Platinum Member
What I would like to do is

MyCommand > file.txt

where the output is saved in file.txt but ALSO displayed on the console.

Is this possible?

Thanks,

Dave
 
I would like to see it live as it happens, as well as have it recorded to a file - so "type" will just show it to me after the fact.

Any other thoughts?

Dave
 
Perhaps Cygwin + 'tee'? I use tee with windows' linux toolkit (or whatever it's called).

dir | tee <filename>

will do the trick.
 
Back
Top