get.com

get.com

(operating system)A command which can be created using debugin MS DOS to set the errorlevel according to which key ispressed. The errorlevel can then be interrogated from abatch file by a series of commands like this:

getif errorlevel 118 goto E118if errorlevel 117 goto E117if errorlevel 116 goto E116if errorlevel 115 goto E115if errorlevel 114 goto E114

where E118 etc. are labels in the batch file.