Perhaps the worst-named tool in the *nix world,
script is extremely handy when you want to capture all the output of a terminal session.
Is there a tool like it for Windows? Specifically, without having to install something like
Windows PowerShell has a
MTee is a tiny (11KB) program that works like the Unix
That is, it takes the output from a program (like cmd.exe) and sends it in two directions: to the console and to a file.
So you can use:
cmd.exe | mtee.exe C:Pathsome_log_file.txt