How to capture the compilaton output to a text file in Windows?
The post Capturing avrdude command in IDE gave me the clue. Under Windows the file
C:\Program Files (x86)\Arduino\arduino_debug.exe
can have its output redirected to files same as a shell command.
In the CMD.exe DOS box, I executed:
C:\Program Files (x86)\Arduino&gt;arduino_debug.exe &gt;\temp\logfile.txt 2&gt;\temp\errfile.txt
and the regular log stuff went to logfile and the errors and warnings went to errfile.
There's enough material in those two files to hurt yourself.