Page 1 of 1

CHOICE.EXE or equivalent for DOS 5.02 (for building menus)

Posted: Fri Feb 05, 2021 6:47 am
by creekmore34
Greetings All,

Recently, I was building some batch file menus for the junior (running with a JR-IDE and patched IBM PC DOS 5.02). As I was writing out a dozen or so smaller numbered batch files for the menu, I got to wondering if there is an equivalent to CHOICE.EXE for DOS 5. It would really be nice to set an error level within the main batch routine for use in selecting and executing on user input. I know there are a million and one dos menu programs out there, but where it the fun in that when you are trying to customize your machine. Anyway, my menus are running fine with the more arcane method, but I just thought I'd ask the user group about other alternatives.

Cheers,
Ryan

Re: CHOICE.EXE or equivalent for DOS 5.02 (for building menus)

Posted: Mon Oct 25, 2021 9:22 pm
by creekmore34
The solution:

Norton Batch Enhancer, an applet in Norton Utilities (version 6.0, written to work with DOS 5).

Specifically:
BE.EXE ASK
will let you make a user defined selection and tie it to an ERRORLEVEL, which you can then GOTO within your DOS 5 batch.

Additionally, if you are not a fan of Norton Utilities, BE.EXE works just fine as a stand alone file somewhere in your path.