home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / TEXT / UTILITY / QT201.ZIP / BBSQUOTE.BAT < prev    next >
Encoding:
DOS Batch File  |  1991-07-04  |  1.1 KB  |  35 lines

  1. @echo off
  2. REM **
  3. REM **  BBSQUOTE.BAT     -  QT-QUOTE Bulletin Board batch file
  4. REM **
  5. REM **  Creates the welcome.a?? files to be displayed when users logon.
  6. REM **  This batch file should be executed by placing CALL BBSQUOTE.BAT
  7. REM **  in either your BBS autoexec or your mailer batch file, such that
  8. REM **  it is executed once per call.
  9. REM **
  10. REM **  Adrian Collins & CT Software Systems 1991
  11. REM **
  12.  
  13. REM ** qttxtprog contains the name and path of the quote program
  14. set qttxtprog = c:\quote\quote.exe
  15.  
  16. REM ** qttxtfiles contains the path of the quote text files
  17. set qttxtfiles = c:\quote
  18.  
  19. REM ** bbstxtfiles contains the path of the bulletin board text files
  20. set bbstxtfiles = c:\quote
  21.  
  22.  
  23. %qttxtprog /q %qttxtfiles\quotes.txt /x > %qttxtfiles\quote.$$$
  24.  
  25. type %qttxtfiles\qintro.ans > %bbstxtfiles\welcome.ans
  26. type %qttxtfiles\quote.$$$ >> %bbstxtfiles\welcome.ans
  27. type %qttxtfiles\qoutro.ans >> %bbstxtfiles\welcome.ans
  28.  
  29. type %qttxtfiles\qintro.asc > %bbstxtfiles\welcome.asc
  30. type %qttxtfiles\quote.$$$ >> %bbstxtfiles\welcome.asc
  31. type %qttxtfiles\qoutro.asc >> %bbstxtfiles\welcome.asc
  32.  
  33. del %qttxtfiles\quote.$$$ >&nul:
  34.  
  35.