S sg08234 Nov 33 0 Nov 14, 2022 #1 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
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
vefatica May 12,934 171 Nov 14, 2022 #2 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.
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.
Joe Caverly Aug 1,929 71 Nov 14, 2022 #3 Look at the help for the LOG command, and its various command line switches. Joe