home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / packet / bb211 / server.doc < prev    next >
Text File  |  1991-03-03  |  2KB  |  41 lines

  1. There are three commands for SERVERS
  2.  
  3.  *   ES server file parms -- Execute a server.  Example:
  4.                           ES REQDIR D:\PATH\T17.EXE
  5.                           ES REQFIL DOS BATNAM
  6.                     Use the second example for DOS commands and BAT files.
  7.  
  8.  *   EL -- Same as ES but will automaticllay do a GL after the server runs.
  9.  
  10.  *   EX file parms -- Execute another program.  Example:
  11.                           EX D:\PATH\T17.EXE
  12.                           EX DOS BATNAM
  13.                     Use the second example for DOS commands and BAT files.
  14.  
  15. Both of these command execute DOS programs.  In both cases, you must
  16. specify a "file".  This is the exact name (including extension) of the
  17. program you want to run.  Example XXX.COM, D:\YYY.EXE.  You must have
  18. the path if the program is not in the current directory.
  19.  
  20. Alternatively, you can specify the magic word called "DOS".  BB will
  21. then execute the program called COMMAND.COM and pass the parms to it.
  22. In this manner you can execute DOS commands, batch files, etc.
  23.  
  24. The difference between EX and ES is that ES includes EXPORT and IMPORT.
  25.  
  26.     ES REQDIR D:\PATH\T17.EXE
  27.  
  28.     is the same as
  29.  
  30.     EXPORTK REQDIR.IN E REQDIR
  31.     EX D:\PATH\T17.EXE
  32.     IMPORTE REQDIR.OUT
  33.  
  34.     E REQDIR means export messages to REQDIR and the @ field is blank or
  35.     this BBS.
  36.  
  37. When writing a server, try to keep to using IMPORT and EXPORT for
  38. getting messages in and out of the BBS.  This will allow you to contiue
  39. to run even after I change the file formats.
  40.  
  41.