home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / lockdoor.zip / BREIP.CMD < prev    next >
OS/2 REXX Batch file  |  1995-06-06  |  2KB  |  41 lines

  1. /* REXX command file to drive the execution of an external routine (door). */
  2. /* This particular routine will copy a flag file to the door's directory   */
  3. /* upon execution. This routine also grabs any inbound public files for    */
  4. /* the Interplanetary Barren Realms Elite game and places them in the      */
  5. /* password directory for BRE to act on them. It will also copies the      */
  6. /* correct door.sys drop file to the BRE directory. At the end this file   */
  7. /* will execute a call to the BRE2AD.CMD routine that will use the .MSG    */
  8. /* file attaches created by BRE to covert them to the Adept file attaches. */
  9. /* This file should reside in the Adept directory.                         */
  10. /*                                                                         */
  11. /* written by Jerry Jones * Enigma, A Piece of the Puzzle * 1:3602/212.0   */
  12. /*                                                                         */
  13.  
  14. ARG linenum
  15.  
  16. file = 'd:\adept\doors\breip\in-use.flg'
  17. door = 'door.sys'
  18.  
  19.    public = 'd:\adept\mailer\public'
  20.      cd public
  21.        pass = 'd:\adept\mailer\password'
  22.          a = '100*'
  23.           xcopy a pass
  24.             del a
  25.              breip = 'd:\adept\doors\breip'
  26.              cd breip
  27.               door = 'door.sys'
  28.        copy 'd:\adept\system\line'linenum'\'door
  29.        copy 'd:\adept\in-use.flg ' file
  30.        srdoor = 'srdoor -f setup.'linenum
  31.            srdoor
  32.              bre = 'bre full'
  33.                bre
  34.                 brscores
  35.                del file
  36.              del door
  37.          cd 'd:\adept'
  38.       call bre2ad.cmd
  39.  
  40. exit
  41.