I have an old plugin, GENBREAK, a one-liner ... Code: GenerateConsoleCtrlEvent(CTRL_C_EVENT, 0); It has served me well until lately. When I use it like this (pressing "q"): Code: ON BREAK ( ECHO foo & QUIT ) DO FOREVER DELAY /M 1 SET key=0 INKEY %%key SWITCH %key CASE q GENBREAK ENDSWITCH ENDDO it's iffy whether or not I see "foo" (maybe 60/40 in favor of not seeing it). Why is it iffy? And how might I improve GENBREAK so it's reliable in this situation? Thanks.