home *** CD-ROM | disk | FTP | other *** search
- @echo off
- REM **
- REM ** BBSQUOTE.BAT - QT-QUOTE Bulletin Board batch file
- REM **
- REM ** Creates the welcome.a?? files to be displayed when users logon.
- REM ** This batch file should be executed by placing CALL BBSQUOTE.BAT
- REM ** in either your BBS autoexec or your mailer batch file, such that
- REM ** it is executed once per call.
- REM **
- REM ** Adrian Collins & CT Software Systems 1991
- REM **
-
- REM ** qttxtprog contains the name and path of the quote program
- set qttxtprog = c:\quote\quote.exe
-
- REM ** qttxtfiles contains the path of the quote text files
- set qttxtfiles = c:\quote
-
- REM ** bbstxtfiles contains the path of the bulletin board text files
- set bbstxtfiles = c:\quote
-
-
- %qttxtprog /q %qttxtfiles\quotes.txt /x > %qttxtfiles\quote.$$$
-
- type %qttxtfiles\qintro.ans > %bbstxtfiles\welcome.ans
- type %qttxtfiles\quote.$$$ >> %bbstxtfiles\welcome.ans
- type %qttxtfiles\qoutro.ans >> %bbstxtfiles\welcome.ans
-
- type %qttxtfiles\qintro.asc > %bbstxtfiles\welcome.asc
- type %qttxtfiles\quote.$$$ >> %bbstxtfiles\welcome.asc
- type %qttxtfiles\qoutro.asc >> %bbstxtfiles\welcome.asc
-
- del %qttxtfiles\quote.$$$ >&nul:
-
-