home *** CD-ROM | disk | FTP | other *** search
/ RBBS in a Box Volume 1 #2 / RBBS_vol1_no2.iso / add2 / amaxx261.zip / SAMPLE.DAT < prev    next >
Text File  |  1989-05-10  |  6KB  |  194 lines

  1. ;                        EXAMPLE DAT FILE STRUCTURE
  2. ; ────────────────────────────────────────────────────────────────────────────
  3. ; REVISED 10/26/87
  4. ; This is a real dat file.  Rename to AUTOMAXX.DAT before use.
  5.  
  6.  
  7.  
  8.  
  9. ;                      *****  G E N E R A L  *****
  10.  
  11. ; A semicolon is used to preceed a comment line.
  12. ;   Comments will not be processed by AUTOMAXX but
  13. ;   can be used to document a dat file or to comment out
  14. ;   command lines when needed.
  15. ; Blank lines are allowed.
  16. ; Indenting with spaces or tabs is allowed to improve readability.
  17. ; Command lines are processed by AUTOMAXX.  A command line begins with
  18. ;   one of the leading characters '%*+?>$&'.  You may preceed a leading
  19. ;   character with spaces or tabs to improve readability.
  20.  
  21.  
  22.  
  23. ;              *****  LEADING CHARACTERS DEFINITIONS  *****
  24.  
  25. ;    character      definition
  26. ;    ─────────      ──────────────────────────────────────────
  27. ;         ;         preceeds a comment                          
  28. ;         %         preceeds menu title
  29. ;         *         preceeds an option title
  30. ;         +         preceeds dos command
  31. ;         ?         preceeds password
  32. ;         >         jump to menu title which follows 
  33. ;         $         load another dat file
  34. ;         &         get parameter
  35.  
  36. ; Note:  Leading characters may only be preceeded by spaces or tabs
  37.  
  38.  
  39.  
  40.  
  41. ;                   *****   SAMPLE MENUs  *****
  42.  
  43. ; This first menu is an example of calling menus within a menu
  44. ;   using the '>' character
  45.  
  46. %MENU of MENUs
  47.      *APPLICATION PROGRAMS
  48.           ; next line calls the MENU titled 'APPLICATION PROGRAM MENU'
  49.           ;   using the '>' character
  50.           >APPLICATION PROGRAM MENU
  51.      *COMMUNICATION
  52.           ; call 'COMMUNICATIONS PROGRAMS MENU'
  53.           >COMMUNICATION PROGRAMS MENU
  54.      *DOS COMMANDS
  55.           >BASIC DOS COMMANDS MENU
  56.      *ADVANCED UTILITIES
  57.           >ADVANCED UTILITIES MENU
  58.      *HARD DISK BACKUP
  59.           >SPECIAL HARD DISK BACKUP MENU
  60.      *MISCELLANEOUS
  61.           >MISCELLANEOUS MENU
  62.           ; note: you may use the home key to return to 1st menu
  63.  
  64.           
  65. ; Note the indenting for readability 
  66.           
  67. %APPLICATION PROGRAM MENU
  68.      *Reflex
  69.           +c:
  70.           +cd \reflex
  71.           +reflex
  72.           +cd \
  73.           +menu
  74.      *WordPerfect
  75.           ; the next command line uses the '?' to prompt the user to enter
  76.           ;   a password which must be banana yellow to continue processing
  77.           ;   the next lines for the Wordperfect option
  78.           ?banana yellow
  79.           +c:
  80.           +cd \wp
  81.           +wp
  82.           +cd \
  83.           +menu
  84.      *Lotus 123
  85.           +c:
  86.           +cd \lotus
  87.           +lotus
  88.           +cd \
  89.           +menu
  90.      *Text Editor
  91.           ; use of '&' for parameter input is demonstated here:
  92.           +c:
  93.           +cd \text
  94.           &Name of file to edit? 
  95.           +ed &1
  96.           +cd \
  97.           +menu
  98.      *Dbase
  99.           &Enter dbase program to be run>
  100.           +cd \dbase
  101.           +dbase &1
  102.           +menu
  103.  
  104. ; next is an example of the '$' command.  It is used to load another dat file,
  105. ; in this case one named a:\master.net.  The dat file commands are loaded here
  106. ; then the AUTOMAXX.DAT continues being loaded.  This can be used for networks
  107. ; when a common set of instructions must be put in each users automaxx.dat
  108. ; file. It has been commented out here
  109.  
  110. ;    $c:\master.net
  111.  
  112. %COMMUNICATION PROGRAMS MENU
  113.      *Mirror
  114.           +cd \mirror
  115.           +mirror
  116.           +menu
  117.      *Telix
  118.           +cd \telix
  119.           +telix
  120.           +menu
  121.      *Crosstalk
  122.           +c:
  123.           +cd \bbs
  124.           +xtalk
  125.           +cd \
  126.           +menu
  127.  
  128. %BASIC DOS COMMANDS MENU
  129.      *Check diskette:
  130.           +c:
  131.           ; the first use of '&' generates input which will be
  132.           ; substituted wherever &1 occurs in the command
  133.           ; lines that follow in this option
  134.           &enter drive letter>
  135.           ; now get seconf parameter &2
  136.           &enter optional parameters (/f/v)
  137.           +chkdsk &1:&2
  138.           +pause
  139.           +menu
  140.      *Normal diskette duplication
  141.           +&enter source drive letter>
  142.           +&enter target drive letter>
  143.           +pause
  144.           +copy &1:*.* &2:
  145.           +menu
  146.      *Format floppy diskette in Drive A:
  147.           +c:
  148.           &enter optional parameters (/s/1/8/v/b/4) >
  149.           ; '&' can be used for prompts
  150.           &now place disk in drive A, then press <return> to continue
  151.           ; Note: &2 will be a null string.
  152.           +format a:&1
  153.           +menu
  154.      *Disk Operating System
  155.           +echo off
  156.           +echo ┌─────────────────────┐
  157.           +echo │▄▄▄▄▄█ D  O  S █▄▄▄▄▄│
  158.           +echo ├─────────────────────┤
  159.           +echo │   Enter MENU to     │
  160.           +echo │ return to AUTOMAXX  │
  161.           +echo └─────────────────────┘
  162.           +echo on
  163.  
  164. %SPECIAL HARD DISK BACKUP MENU
  165.      *Total Backup of Drive C:
  166.           +c:
  167.           +backup c:\ a:/s
  168.           +menu
  169.      *Update backup for files changed on Drive C:
  170.           +echo off
  171.           +echo Warning:  This procedure overwrites files on Disk A.
  172.           +echo           Enter Ctl-C to stop now.  Otherwise,
  173.           +pause          put a formatted disk in Drive A.
  174.           +echo on
  175.           +backup c:\ a:/s/m
  176.           +menu
  177.  
  178. %MISCELLANEOUS MENU
  179.      *Samples Programs
  180.           +c:
  181.           +cd \games
  182.           +basica samples
  183.           +cd \
  184.           +menu
  185.      *COMPAQ Demo
  186.           +c:
  187.           +cd \games
  188.           +basica demo
  189.           +cd \
  190.           +menu
  191. ; The end file symbol '#' is purely optional and may be
  192. ;   omitted if desired.
  193. #End of Menu File
  194.