User Menu

The user can define a set of menu option in a file and the program will display the menu and allow the user to select options from the menu.

Create a file called ‘’ in the same directory as the program.

The file should have this format
Menu=User Menu,Program=dummy
Name=Dir,Program=dir | more
Name=Real dir,Program=d:\acs\topo60\win\cmd1
The first line of the file must contain a name for the menu.
Menu=User Menu,Program=dummy
in this case the menu name is ‘User Menu’
The following lines contain the sub-menu items. there is a limit of 20 sub-items allowed.
The first item on each line is the Menu prompt text.
The second is the program to run
This line will run the geom program