home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 31
/
CDASC_31_1996_juillet_aout.iso
/
vrac
/
wbd149s.zip
/
Z.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-09-25
|
2KB
|
50 lines
@echo off
cls
c:
cd \wb
:retry
REM =====================================================================
REM GET RID OF ANY PREVIOUS SPECIAL WEATHER STATEMENT FILE
REM AND THE DISPLAY SCREEN WHERE IT WAS PLACED
REM =====================================================================
if exist badweath.txt del badweath.txt
if exist c:\wc30\disp\hello1n.bbs del c:\wc30\disp\hello1n.bbs
REM =====================================================================
wbdos.exe
if errorlevel 5 goto endit
if errorlevel 3 goto retry
if errorlevel 2 goto endit
if errorlevel 1 goto endit
if errorlevel 0 goto haveit
goto endit
:haveit
REM =====================================================================
REM MODIFY THESE STATEMENTS TO SEND THE OUTPUT FILES WHERE YOU WANT
REM =====================================================================
REM ------ THE SPECIAL WEATHER STATEMENT --------------------------------
if exist badweath.txt copy wtop.asc hello1n.bbs
if exist badweath.txt copy hello1n.bbs+badweath.txt+wbot.asc
if exist badweath.txt copy hello1n.bbs c:\wc30\disp\hello1n.bbs
REM ---------------------------------------------------------------------
REM ------ THE REGULAR FORECAST -----------------------------------------
copy wtop.asc bull17.bbs
copy wtop.asc hello8n.bbs
copy bull17.bbs+cmh2.dat+wmid.asc+oh2.dat+wbot.asc
copy hello8n.bbs+cmh2.dat+wbot.asc
copy bull17.bbs c:\wc30\bull\bull17.bbs
copy hello8n.bbs c:\wc30\disp\hello8n.bbs
REM ---------------------------------------------------------------------
REM =====================================================================
:endit