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:
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.