Category : BBS Programs+Doors
Archive   : MENUIDEA.ZIP
Filename : B.BAT

 
Output of file : B.BAT contained in archive : MENUIDEA.ZIP
@ECHO OFF
cls
IF NOT %1. == ?. GOTO START
ECHO RBBS-PC COMPILE UTILITY
ECHO This batch file will help you quickly compile RBBS-PC, should you
ECHO wish to make modifications to the source. The syntax is:
ECHO ÿ
ECHO %0 [parms]
ECHO ÿ
ECHO If you do not specify any parameters, %0 will compile ALL RBBS-PC
ECHO source modules, then link them into RBBS-PC.EXE. If you specify one
ECHO or more parameters, %0 will compile only the modules you specify,
ECHO and will then link them. To specify modules, use the following
ECHO number(s) separated by a space:
ECHO ÿ
ECHO MODULE NUMBER MODULE NUMBER
ECHO RBBS-PC.BAS 0 RBBSSUB3.BAS 3
ECHO RBBSSUB1.BAS 1 RBBSSUB4.BAS 4
ECHO RBBSSUB2.BAS 2 RBBSSUB5.BAS 5
ECHO ÿ
ECHO NOTE: Results of each compile will be saved in the file $$RBBS.TXT.
ECHO
ECHO THIS FILE IS CONFIGURED FOR QB 3.0 - SEE COMMANDS FOR QB 4.5 CHANGES!
GOTO EXIT
:START
IF EXIST $$RBBS.TXT DEL $$RBBS.TXT
if %1. == 0. GOTO RBBSCOMP
:RBBSCOMP
ECHO.
ECHO ===========================[ Compiling RBBS-PC.BAS ]===========================
ECHO.
ECHO Errors while compiling RBBS-PC.BAS include: >> $$RBBS.TXT
QB RBBS-PC.BAS /C:4096 /O/E/S; >> $$RBBS.TXT
REM FOR QB4.5, USE: BC RBBS-PC.BAS /C:4096 /O/E/S/MBF; >> $$RBBS.TXT
IF %1. == 0. GOTO LOOP
:LOOP
IF %2. == . GOTO LINKIT
SHIFT
GOTO START
:LINKIT
ECHO.
ECHO ============================[ Linking all Modules ]============================
ECHO.
LINK @RBBSQB3.LNK
REM FOR QB4.5, USE: LINK @RBBSQB45.LNK
TYPE $$RBBS.TXT
ECHO.
ECHO =====================[ Compressing RBBS-PC.EXE with LZEXE ]====================
ECHO.
LZEXE RBBS-PC.EXE
DEL RBBS-PC.OLD
CLS
ECHO.
ECHO.
ECHO.
ECHO YABBA, DABBA, DOO - AND ANOTHER RBBS-PC.EXE FILE IS READY FOR USE.
ECHO.
ECHO.
:EXIT
MENU


  3 Responses to “Category : BBS Programs+Doors
Archive   : MENUIDEA.ZIP
Filename : B.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/