home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
-
-
- echo RBBS batch file to upgrade RBBS-PC 17.4
- echo with Latest Maple mods
- echo .
- echo .
- echo You may wish to edit the Bled commands to include the drive/Sudir
- echo were the rbbs*.bas files are kept and were the merge files are located
- echo .
- echo you can also create the *.MPL files as *.BAS files
- echo but you must specify a subdir to put them in
- echo DO NOT overwrite the ORIG source files
- Pause
-
- if %1?==? goto Usage
-
- :Start
-
-
-
-
- if not exist BLED.EXE goto NoBLED
-
- rem Apply a merge: BLED[/B/L/M/RC] {source} {merges} {new file} {warn file}
-
- BLED /B/L rbbs-pc.bas m-pc%1.mrg Rbbs-pc.mpl Mpl-pc.WRN
- BLED /B/L rbbssub1.bas mbs1%1.mrg rbbssub1.mpl mpl1.WRN
- BLED /B/L rbbssub2.bas mbs2%1.mrg rbbssub2.mpl mpl2.WRN
- BLED /B/L rbbssub3.bas mbs3%1.mrg rbbssub3.mpl mpl3.WRN
- BLED /B/L rbbssub4.bas mbs4%1.mrg rbbssub4.mpl mpl4.WRN
- BLED /B/L rbbssub5.bas mbs5%1.mrg rbbssub5.mpl mpl5.WRN
- BLED /B/L RCHAT300.bas RCHAT300.mrg rchat300.mpl chat.WRN
- BLED /B/L ANSIED.bas Ansied.mrg ansied.mpl Ansied.WRN
- BLED /B/L CONFIG.bas MCfg%1.mrg Config.mpl CONF.WRN
- BLED /B/L CNFG-SUB.BAS MCSB%1.mrg Cnfg-sub.mpl CONF-SUB.WRN
-
-
- echo ^g
- echo .
- echo remember to put in the new RBBS-VAR.* files
- echo .
- echo if all files were merged successfully
- echo then rename them with the *.BAS extension
-
- GOTO END
-
-
- :NoBLED
- echo Missing BLED.EXE... Aborted.
- goto Stop
-
-
- :Usage
- echo Usage: UPGRADE xxxx
- echo .
- echo where xxxx is the upgrade date
- echo the end of the MRG filenames.
- echo .
-
- Goto Stop
-
- :End
- cls
- echo if the Merges were were succesfull ren the *.MPL files to
- echo *.BAS and recompile
- echo .
- echo Be Sure to update the RBBS-VAR.* files and any other
- echo *.BAS files include with this Mrg
-
-
- :Stop