TIMEOUT is a welcome addition to the windows command set for us admin types that do a lot of batch processing. It would be a great deal more useful if I could figure out how to distinguish between an actual timeout and keystroke induced timeout. Both leave ERRORLEVEL equal to 0. CTRL-C will return a non-zero ERRORLEVEL if you answer "N" to the "Terminate batch job" prompt. But this is messy both visually and operationally; it risks terminating the batch which can be a very bad thing in some
↧