Category : Batch File Utilities - mostly for DOS
Archive   : BMENU54.ZIP
Filename : EXAMPLE1.BAT

 
Output of file : EXAMPLE1.BAT contained in archive : BMENU54.ZIP
echo off
echo
echo Bmenu alone prints help screen...
echo
echo usage: bmenu
echo.
pause
echo
bmenu
echo
pause
echo
echo Standard batch file example...
echo
echo usage: bmenu 10 40 " Long Title " One Two Three Four
echo
bmenu 10 40 " Long Title " One Two Three Four
if errorlevel 4 goto f
if errorlevel 3 goto t
if errorlevel 2 goto w
if errorlevel 1 goto o
if errorlevel 0 goto esc
:f
echo Four was chosen
goto end
:t
echo Three was chosen
goto end
:w
echo Two was chosen
goto end
😮
echo One was chosen
goto end
:esc
echo ESC hit
:end


  3 Responses to “Category : Batch File Utilities - mostly for DOS
Archive   : BMENU54.ZIP
Filename : EXAMPLE1.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/