home *** CD-ROM | disk | FTP | other *** search
/ Lion Share / lionsharecd.iso / bbs_oth / mfix0709.zip / MFIX.BAT < prev   
DOS Batch File  |  1992-07-09  |  1KB  |  67 lines

  1. @echo off
  2. cls
  3.  
  4.  
  5. echo     Batch file to FIX Maple code with 0709 merges
  6. echo     to fix Door return bug and add stock Fixes
  7. echo .
  8. echo .
  9. echo     You may wish to edit the Bled commands to include the drive/Sudir
  10. echo     were the rbbs*.bas files are kept and were the merge files are located
  11. echo .
  12. echo     Only apply this FIX ONLY TO MAPLE version of RBBS !!!!
  13. echo     you may also wish to make the changes Manually since
  14. echo     only a few areas were changed
  15. Pause
  16.  
  17. if %1?==? goto Usage
  18.  
  19. :Start
  20.  
  21.  
  22.  
  23.  
  24. if not exist BLED.EXE goto NoBLED
  25.  
  26. rem Apply a  merge:  BLED[/B/L/M/RC]  {source} {merges} {new file} {warn file}
  27.  
  28. REN RBBS-PC.BAS RBBS-PC.OLD
  29. REN RBBSSUB2.BAS RBBSSUB2.OLD
  30. REN RBBSSUB3.BAS RBBSSUB3.OLD
  31. REN RBBSSUB5.BAS RBBSSUB5.OLD
  32.  
  33. BLED /B/L rbbs-pc.old m-pc%1.fix rbbs-pc.bas mplpc.WRN
  34. BLED /B/L rbbssub2.old mbs2%1.fix rbbssub2.bas mpl2.WRN
  35. BLED /B/L rbbssub3.old mbs3%1.fix rbbssub3.bas mpl3.WRN
  36. BLED /B/L rbbssub5.old mbs5%1.fix rbbssub5.bas mpl5.WRN
  37.  
  38.  
  39. echo ^g
  40. echo .
  41. echo       if all files were merged successfully
  42. echo       recomple and link
  43.  
  44. GOTO END:
  45.  
  46.  
  47. :NoBLED
  48. echo Missing BLED.EXE... Aborted.
  49. goto Stop
  50.  
  51.  
  52. :Usage
  53. echo Usage: MFIX xxxx
  54. echo .
  55. echo        where xxxx is the Fix File date (e.g. MFIX 0709 )
  56. echo .
  57.  
  58. Goto Stop
  59.  
  60. :End
  61.  
  62. echo       if the Merges were were succesfull recompile & Link
  63. echo .
  64.  
  65.  
  66. :Stop
  67.