The Windows console (on Windows 10 at least) does not support ANSI escape sequences by default, so turn off colored diagnostics by default when the compiler is invoked via the mercury.bat batch file. scripts/mercury.bat.in: As above.