echo off    
cls 
:
:   Example of a working BATCH file that can be placed in your path or root
:   to call either YAM or ZCOMM, set the phones file and configure colors
:   for the flash up help processor. (Anything with ':' in col 1 is a comment)
:   Once you are setup you can delete these commented lines starting with ':'.
:   This example assumes you have YAM or ZCOMM in C:\ZCOMM along with the 
:   PHOMAST.T file.  Only YAM users need to use the 'set phones' command 
:   since the default in ZCOMM is to look in \ZCOMM for a file called 
:   PHOMAST.T
:
:   Actually it's better yet to put these 'set' commands in your AUTOEXEC.BAT
:   file.  I just have them here so you can try it without changing your
:   current configuration...
:
set PHONES=c:\zcomm\phomast.t
:
:   If you have a color system get rid of the ':' in front of the set
:   commands on the next lines and the help processor will be in color!
:
: set normattr=31
: set revattr=26
: set undlattr=31
:
:   Comment in the line below if you get "Warning: Old dport=" message
:   Set for what ever com port your modem is hooked to (here shown as COM1).
:
: set hotport=1
c:
cd\zcomm
:
:   If you are using YAM, uncomment the yam line below and comment out or
:   the delete the zcomm line below.
:
: yam %1 %2 %3 %4
zcomm %1 %2 %3 %4
cd\
cls
:
:   If you run into a DOS error 'Out of Environment Space' you will need to
:   add the 'shell' command to CONFIG.SYS file.  For different DOS versions:
:
:       DOS V3.0:       shell=c:\command.com /p
:       DOS V3.1-3.3:   shell=c:\command.com /p /e:512
:
:   The first argument tells DOS where to find 'COMMAND.COM', the two switches
:   are:  /P for stay Permanent, and /E: for size of environment (ranging from
:   11-62 {16byte paragraphs} for V3.1 and 160 to 32,767 bytes for V3.2-3.3 
:   See your DOS manual for specifics on other versions.
:
