This sucks, I know. Now we're ready to get the maximum power from the choice command. We saw before that errorlevels are some kind'a number that programs returned and so on. That was not very useful, I know, but for the choice program. The choice program takes a letter from the keyboard and returns an errorlevel in consecuence of the key pressed.
Text is no more than the text to show when choice is runned.
ABCD Defines A,B,C,D as possible keys. If you press a not defined key, you'll hear a beep and will continue as if nothing was pressed. By default, Z is equal to z for choice. Choice shows the possible keys into brackets when is called. 3 and 7 errorlevel 4.