The program Menu95 is very handy. It will enable you to run MS-DOS programs when your "blue application key" apps are still open. It's more complicated to setup than I thought. This is my personal "How To".
Contents
A. General
B. Place on C disk & edit
C. Place on A disk & edit
D. Configure menu95.bat
E. Configure menu95.lst
A. General
Menu95 uses the following files
(make sure they're in the right place
):
C:\AUTOEXEC.BAT => Set parameters.
C:\MENU95.EXM => TSR so you can use Ctrl + Menu to start Menu95.bat
C:\_DAT\APNAME.LST => Loads menu95.exm on boot.
A:\MENU95.BAT => Contains settings and calls mnu95.exe.
A:\MENU95.LST => Alphabetical list of progs to call via mnu95.exe.
A:\MNU95.EXE => The executable itself.
B. Place on C disk & edit
AUTOEXEC.BAT should set two parameters, else they must be called again and again from menu95.bat. If you want to put mnu95.exe and menu95.lst on your A disk to save space on the RAM disk:
REM (D) & (DV) are used by MENU95.BAT
SET (DV)=A:
SET (D)=A:\BIN
Warning: it looks like the
(D
) and
(DV
) variables are case sensitive.
Disk space on the RAM disk is very limited so use a minimal setup like this:
C:\_dat\APNAME.LST
C:\MENU95.EXM
Add in apname.lst:
C:\MENU95.EXM,CA00,Menu95
C. Place on A disk & edit
These may be called from A disk to save space on the RAM disk, they must be in the path
(e.g. A:\BIN
):
A:\BIN\MNU95.EXE
\MENU95.LST
\MENU95.BAT
D. Configure menu95.bat
The basic structure of menu95.bat is like below. It calls mnu95.exe.
ECHO OFF
CLS
%(DV)%
CD %(D)%
IF EXIST MN.BAT DEL MN.BAT
IF NOT (%1)==() GOTO %1
MNU95 MENU95.LST
IF ERRORLEVEL 1 GOTO QUIT
MN
:0
CLS
GOTO QUIT
<< your command >>
:QUIT
I've a sneakin' suspicion that MN.BAT is created by MNU95.EXE.
Example of your << your command >>:
:H
CLS
DIET.EXE %2 %3 %4 %5 %6
REM or: A:\Software\Science\HexCalc\hexcalc
PAUSE
MENU95.BAT 0 REM The 0 option exits Menu95.
It's pretty self explanatory. The letter "H" is the letter you should press in the Menu. The command line options start at %2 because %1 is already used internally.
E. Configure menu95.lst
Not to be confused with the system file apname.lst.
Is used by mnu95.exe to show the app names. It's an alphabetical list. Example: if you want to start a prog by pressing "D" on the keyboard
(the 5th letter in the alphabet
) then the FIFTH line must be:
+Diet
The "+" sign tells Menu95 that this application will use command line arguments like %2, %3, etc., see chapter "Configure menu95.bat".
Edited by Jornada+Linux 2022-03-24 9:03 PM