home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
bbs_mail
/
gold230.exe
/
RUNGOLD.BAT
< prev
Wrap
DOS Batch File
|
1991-04-04
|
2KB
|
71 lines
@ECHO OFF
REM ------------------------------------------------------------------
REM G O L D E D E X A M P L E B A T C H F I L E
REM ------------------------------------------------------------------
REM This batch file gives you a simple skeleton, where you can put
REM your mail scanners, packers and other processing you want done
REM after each GoldED session.
REM ------------------------------------------------------------------
:GOLDRUN
GOLDED.EXE
If ErrorLevel 101 Goto ERROR
If ErrorLevel 100 Goto REBUILD
If ErrorLevel 008 Goto ERROR
If ErrorLevel 007 Goto E_N_L
If ErrorLevel 006 Goto E_N__
If ErrorLevel 005 Goto E___L
If ErrorLevel 004 Goto E____
If ErrorLevel 003 Goto __N_L
If ErrorLevel 002 Goto __N__
If ErrorLevel 001 Goto ____L
Goto _____
:ERROR
Echo GoldED Error exit!
Goto END
:REBUILD
Echo ERROR! The QBBS index files needs rebuilding!
MBUTIL.EXE Index -Recover -Delete
Goto GOLDRUN
:E_N_L
Echo **** New Echo, Net and Local mail entered!
Goto END
:E_N__
Echo **** New Echo and Netmail entered!
Goto END
:E___L
Echo **** New Echo and Local mail entered!
Goto END
:E____
Echo **** New Echomail entered!
Goto END
:__N_L
Echo **** New Net and Local mail entered!
Goto END
:__N__
Echo **** New Netmail entered!
Goto END
:____L
Echo **** New Local mail entered!
Goto END
:_____
Echo **** No new mail entered...
Goto END
:END
REM The End.
REM ------------------------------------------------------------------