Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Log all input and output

Nov
33
0
How can I log all input and output (including error messages) into a file.

I hava a longrunner (batch script) and I wout like to "save" the whole input/output.

Thanks - Michael
 
You can't "log" output per se. You can however send output to a file while still seeing it in the console. Read about the TEE command.
 
Look at the help for the LOG command, and its various command line switches.

Joe
 

Similar threads

Back
Top