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 >
Wrap
Text File
|
1989-05-10
|
6KB
|
194 lines
; EXAMPLE DAT FILE STRUCTURE
; ────────────────────────────────────────────────────────────────────────────
; REVISED 10/26/87
; This is a real dat file. Rename to AUTOMAXX.DAT before use.
; ***** G E N E R A L *****
; A semicolon is used to preceed a comment line.
; Comments will not be processed by AUTOMAXX but
; can be used to document a dat file or to comment out
; command lines when needed.
; Blank lines are allowed.
; Indenting with spaces or tabs is allowed to improve readability.
; Command lines are processed by AUTOMAXX. A command line begins with
; one of the leading characters '%*+?>$&'. You may preceed a leading
; character with spaces or tabs to improve readability.
; ***** LEADING CHARACTERS DEFINITIONS *****
; character definition
; ───────── ──────────────────────────────────────────
; ; preceeds a comment
; % preceeds menu title
; * preceeds an option title
; + preceeds dos command
; ? preceeds password
; > jump to menu title which follows
; $ load another dat file
; & get parameter
; Note: Leading characters may only be preceeded by spaces or tabs
; ***** SAMPLE MENUs *****
; This first menu is an example of calling menus within a menu
; using the '>' character
%MENU of MENUs
*APPLICATION PROGRAMS
; next line calls the MENU titled 'APPLICATION PROGRAM MENU'
; using the '>' character
>APPLICATION PROGRAM MENU
*COMMUNICATION
; call 'COMMUNICATIONS PROGRAMS MENU'
>COMMUNICATION PROGRAMS MENU
*DOS COMMANDS
>BASIC DOS COMMANDS MENU
*ADVANCED UTILITIES
>ADVANCED UTILITIES MENU
*HARD DISK BACKUP
>SPECIAL HARD DISK BACKUP MENU
*MISCELLANEOUS
>MISCELLANEOUS MENU
; note: you may use the home key to return to 1st menu
; Note the indenting for readability
%APPLICATION PROGRAM MENU
*Reflex
+c:
+cd \reflex
+reflex
+cd \
+menu
*WordPerfect
; the next command line uses the '?' to prompt the user to enter
; a password which must be banana yellow to continue processing
; the next lines for the Wordperfect option
?banana yellow
+c:
+cd \wp
+wp
+cd \
+menu
*Lotus 123
+c:
+cd \lotus
+lotus
+cd \
+menu
*Text Editor
; use of '&' for parameter input is demonstated here:
+c:
+cd \text
&Name of file to edit?
+ed &1
+cd \
+menu
*Dbase
&Enter dbase program to be run>
+cd \dbase
+dbase &1
+menu
; next is an example of the '$' command. It is used to load another dat file,
; in this case one named a:\master.net. The dat file commands are loaded here
; then the AUTOMAXX.DAT continues being loaded. This can be used for networks
; when a common set of instructions must be put in each users automaxx.dat
; file. It has been commented out here
; $c:\master.net
%COMMUNICATION PROGRAMS MENU
*Mirror
+cd \mirror
+mirror
+menu
*Telix
+cd \telix
+telix
+menu
*Crosstalk
+c:
+cd \bbs
+xtalk
+cd \
+menu
%BASIC DOS COMMANDS MENU
*Check diskette:
+c:
; the first use of '&' generates input which will be
; substituted wherever &1 occurs in the command
; lines that follow in this option
&enter drive letter>
; now get seconf parameter &2
&enter optional parameters (/f/v)
+chkdsk &1:&2
+pause
+menu
*Normal diskette duplication
+&enter source drive letter>
+&enter target drive letter>
+pause
+copy &1:*.* &2:
+menu
*Format floppy diskette in Drive A:
+c:
&enter optional parameters (/s/1/8/v/b/4) >
; '&' can be used for prompts
&now place disk in drive A, then press <return> to continue
; Note: &2 will be a null string.
+format a:&1
+menu
*Disk Operating System
+echo off
+echo ┌─────────────────────┐
+echo │▄▄▄▄▄█ D O S █▄▄▄▄▄│
+echo ├─────────────────────┤
+echo │ Enter MENU to │
+echo │ return to AUTOMAXX │
+echo └─────────────────────┘
+echo on
%SPECIAL HARD DISK BACKUP MENU
*Total Backup of Drive C:
+c:
+backup c:\ a:/s
+menu
*Update backup for files changed on Drive C:
+echo off
+echo Warning: This procedure overwrites files on Disk A.
+echo Enter Ctl-C to stop now. Otherwise,
+pause put a formatted disk in Drive A.
+echo on
+backup c:\ a:/s/m
+menu
%MISCELLANEOUS MENU
*Samples Programs
+c:
+cd \games
+basica samples
+cd \
+menu
*COMPAQ Demo
+c:
+cd \games
+basica demo
+cd \
+menu
; The end file symbol '#' is purely optional and may be
; omitted if desired.
#End of Menu File