home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / vrac / wbd149s.zip / Z.BAT < prev    next >
DOS Batch File  |  1994-09-25  |  2KB  |  50 lines

  1. @echo off
  2. cls
  3. c:
  4. cd \wb
  5. :retry
  6. REM =====================================================================
  7. REM    GET RID OF ANY PREVIOUS SPECIAL WEATHER STATEMENT FILE
  8. REM    AND THE DISPLAY SCREEN WHERE IT WAS PLACED
  9. REM =====================================================================
  10.  
  11. if exist badweath.txt del badweath.txt
  12. if exist c:\wc30\disp\hello1n.bbs del c:\wc30\disp\hello1n.bbs
  13. REM =====================================================================
  14.  
  15. wbdos.exe
  16.  
  17. if errorlevel 5 goto endit
  18. if errorlevel 3 goto retry
  19. if errorlevel 2 goto endit
  20. if errorlevel 1 goto endit
  21. if errorlevel 0 goto haveit
  22.  
  23. goto endit
  24.  
  25. :haveit
  26. REM =====================================================================
  27. REM    MODIFY THESE STATEMENTS TO SEND THE OUTPUT FILES WHERE YOU WANT
  28. REM =====================================================================
  29.  
  30. REM ------ THE SPECIAL WEATHER STATEMENT --------------------------------
  31.  
  32. if exist badweath.txt copy wtop.asc hello1n.bbs
  33. if exist badweath.txt copy hello1n.bbs+badweath.txt+wbot.asc
  34. if exist badweath.txt copy hello1n.bbs c:\wc30\disp\hello1n.bbs
  35. REM ---------------------------------------------------------------------
  36.  
  37. REM ------ THE REGULAR FORECAST -----------------------------------------
  38.  
  39. copy wtop.asc bull17.bbs
  40. copy wtop.asc hello8n.bbs
  41. copy bull17.bbs+cmh2.dat+wmid.asc+oh2.dat+wbot.asc
  42. copy hello8n.bbs+cmh2.dat+wbot.asc
  43. copy bull17.bbs c:\wc30\bull\bull17.bbs
  44. copy hello8n.bbs c:\wc30\disp\hello8n.bbs
  45. REM ---------------------------------------------------------------------
  46.  
  47. REM =====================================================================
  48.  
  49. :endit
  50.