home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1
/
HamRadio.cdr
/
packet
/
bb211
/
server.doc
< prev
next >
Wrap
Text File
|
1991-03-03
|
2KB
|
41 lines
There are three commands for SERVERS
* ES server file parms -- Execute a server. Example:
ES REQDIR D:\PATH\T17.EXE
ES REQFIL DOS BATNAM
Use the second example for DOS commands and BAT files.
* EL -- Same as ES but will automaticllay do a GL after the server runs.
* EX file parms -- Execute another program. Example:
EX D:\PATH\T17.EXE
EX DOS BATNAM
Use the second example for DOS commands and BAT files.
Both of these command execute DOS programs. In both cases, you must
specify a "file". This is the exact name (including extension) of the
program you want to run. Example XXX.COM, D:\YYY.EXE. You must have
the path if the program is not in the current directory.
Alternatively, you can specify the magic word called "DOS". BB will
then execute the program called COMMAND.COM and pass the parms to it.
In this manner you can execute DOS commands, batch files, etc.
The difference between EX and ES is that ES includes EXPORT and IMPORT.
ES REQDIR D:\PATH\T17.EXE
is the same as
EXPORTK REQDIR.IN E REQDIR
EX D:\PATH\T17.EXE
IMPORTE REQDIR.OUT
E REQDIR means export messages to REQDIR and the @ field is blank or
this BBS.
When writing a server, try to keep to using IMPORT and EXPORT for
getting messages in and out of the BBS. This will allow you to contiue
to run even after I change the file formats.