This will return an ERRORLEVEL based on which button you pressed.
If you want a graphical line-input facility, I recommend using VBScript.
If you would be satisfied with line-input in the command window, you could
use "set /p" (Windows 2000 or later) or a small utility I wrote called
getvar.exe: