home *** CD-ROM | disk | FTP | other *** search
-
- :START
- ECHO OFF
- REM Display the menu on screen
- REM 'MAINMENU' in the next line is whatever you called your .MNU file.
- QM MAINMENU
- CLS
- REM The label name after GOTO in the next lines may be any name you desire
- REM as long as the same name is used with ':' in front of it - see below.
- IF ERRORLEVEL 4 GOTO DOSLEVEL
- IF ERRORLEVEL 3 GOTO SPREAD
- IF ERRORLEVEL 2 GOTO DATABASE
- IF ERRORLEVEL 1 GOTO WORDPROC
- IF ERRORLEVEL 0 GOTO doslevel
- REM ----------------------------------------------------------------
- REM Run the Wordprocessor Program
- :WORDPROC
- REM 'WS' in next line should be your wordprocessor directory name.
- CD\WS
- REM 'WS' in next line should be the command to run your wordprocessor.
- WS
- GOTO START
- REM ------------------------------------------------------------------
- REM Run the database
- :DATABASE
- REM 'DB4' in next line should be your database directory name
- CD\DB4
- REM 'DB4' in next line should be the command to run your database.
- DB4
- GOTO START
- REM Run the spreadsheet.
- REM ------------------------------------------------------------------
- :SPREAD
- REM 'SC5' in next line should be your spreadsheet directory name.
- CD\SC5
- REM 'SC5' in next line should be the command to run your spreadsheet.
- SC5
- GOTO START
- REM ------------------------------------------------------------------
- REM Goto Operating System Level
- :DOSLEVEL
- CD\
- CLS
- REM 'MAINMENU' in the next line is whatever you called this batch file.
- ECHO Returning to DOS Level - Type 'MAINMENU' then hit 'Enter' for MainMenu