Dec 272017
 
Simple Menuing System for your hard disk. Turbo Pascal source included.
File MAINMENU.ZIP from The Programmer’s Corner in
Category File Managers
Simple Menuing System for your hard disk. Turbo Pascal source included.
File Name File Size Zip Size Zip Type
MENU.BAT 36 34 deflated
MENU.DAT 121 99 deflated
MENU2.EXE 18608 8541 deflated
MENU2.PAS 23074 5368 deflated
READ.ME 6045 1954 deflated

Download File MAINMENU.ZIP Here

Contents of the READ.ME file




I. INSTALLATION INSTRUCTIONS

A. Insert the Main Menu program disk in drive A:

B. Make sure you are on the drive C: root directory by
entering:
C: [ENTER]
CD \ [ENTER]

C. Make a subdirectory named MENU by entering:
MKDIR MENU [ENTER]

D. Copy the Program files to the new directory by
entering:
COPY A:*.* C:\MENU\*.* [ENTER]

E. Now you must update your AUTOEXEC.BAT file so that your
computer will automatically execute the Main Menu
program when it is booted up.

1. If you already have an AUTOEXEC.BAT file on
your root directory, then using EDLIN you must add
two lines to the end of this file. If you don't
have an existing AUTOEXEC.BAT file, then you must
create one using the edlin command. For more
detailed information concerning the AUTOEXEC.BAT
file please refer to your DOS manual.
First you must have a path statement telling
DOS where to look for any commands. You want to
include the menu subdirectory in the path
statement. Doing this will allow you to type
"MENU" in DOS, causing the Main Menu program to
run no matter what directory you are in. For
example, if you have DOS in a subdirectory named
"DOS" then your path statement (in the
AUTOEXEC.BAT file) should look like:
PATH \MENU;\DOS
{ Look up the path statement in you DOS manual for
more detailed information. }
The last line in your AUTOEXEC.BAT file
should be:
MENU
This line will cause the menu program to run.

II. USING THE MAIN MENU PROGRAM
There are five commands, add programs, delete programs,
change headings, change colors, and exit to DOS. You can
choose one of these commands by entering "A" to add a
program, "D" to delete a program, "H" to change headings,
"C" to change colors, or "X" to exit to DOS. Once you have
entered programs on the menu, you will also have the choice
of entering a number from 1 to 40 indicating which program
you wish to execute.

A. To add a program, enter "A" at the prompt when the
Main Menu program has been executed.

1. You will then be asked what the name of the
program will be on the menu. This is what you
will call it, not the execution file itself.

2. The next thing it asks is what category it
falls under. Answer this question with the number
corresponding to the category heading it falls
under.

3. Next you will be asked for the drive.
Normally this will be drive C, but in some cases
it may not. Just enter in the drive letter and
hit [ENTER].

4. Then you will be asked what path it is under.
Enter the path it is under just as if you would
enter it in DOS.

5. The execution file must now be entered. This
is the filename of the program to be executed.

As an example let's say we wanted to enter the
"FORMAT A:" command on the menu. First of all we would
enter "A" at the Main Menu "ENTER OPTION>" prompt.
Next you would enter in something like "FORMAT DISK"
for the name of the program. Then the category might
be "DOS commands." Next, you would enter "C" for the
disk it the program is on. The path would be the
directory that DOS is located in, if DOS is located in
a directory called "DOS" then we would enter "\DOS" for
the path. Finally we would enter the execution
filename which would be "FORMAT A:".

B. To change the headings, enter "H" at the prompt
when the Main Menu program has been executed. You will
then be asked what you want the headings to be. Just
enter them. A diagram of the screen is displayed
on the next page indicating which heading is which,
there are 10 all together. If you do not wish to
change one of the headings, just hit [ENTER] when the
Main Menu asks you what you wish that heading to be.

C. To delete a program from the Main Menu, enter "D"
at the prompt when the Main Menu program has been
executed. You must enter the program number you wish
to delete. If you entered "D" by mistake, don't worry
just enter a [ENTER] again and the Main Menu program
will bounce out of the delete option.

D. To change the colors used by the Main Menu, enter
"C" at the prompt. A display of every color available
will be shown with an example as a background color,
and another as a text color. It will ask you what you
wish the background, headings, options, and skeleton
colors to be. Just hit [ENTER] if you do not wish to
change one of the colors, or enter a number from 0 to
16 indicating which color you wish to use.

E. To exit to DOS, enter "X" at the prompt when the
Main Menu program has been executed. The program will
then display "TYPE MENU TO RUN THE MENU AGAIN" and
"HIT ANY KEY TO EXIT TO DOS." At this point, hit any
key. Then when you are finished using DOS, type MENU
and hit [ENTER]. The Menu program will pop up once
again.


 December 27, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)