


ECHO OFF
CLS
C:
CD \CFLOCK
MEMBERS
SO

These six lines are all that are in the M.BAT file.  When you type M <return>
from DOS the computer looks for a file named M.??? on its PATH.  It finds a 
file named M.BAT in the CBATS directory.  Since the filename extension is 
BAT, the computer executes the successive lines just as if they were typed 
from the keyboard!  ECHO OFF turns off the echo feature of showing what is 
typed on the screen, CLS clears the screen, C: changes the active drive to 
drive C: (if not already there), CD \CFLOCK changes the directory to the one 
where the MEMBERS program is located, MEMBERS loads the MEMBERS program into 
the computer's memory and when you exit the program the final command is 
issued.  SO, the final command is the name of a batch file the computer will 
find in the CBATS directory, it has commands to take you back to the opening 
menu.  Batch files can be created using the copy con command or by using a 
word processor such as PC-WRITE that create ASCII files.  Using this system 
your menu's are only limited by your imagination.

