home *** CD-ROM | disk | FTP | other *** search
- @Echo off
-
- :: ------------------------------------------------------------------
- :: G O L D E D E X A M P L E B A T C H F I L E
- :: ------------------------------------------------------------------
- :: This batch file gives you a simple skeleton, where you can put
- :: your mail scanners, packers and other processing you want done
- :: after each GoldED session.
- :: ------------------------------------------------------------------
-
- :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!
- Echo.
- Pause
- 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
- Echo.
- Echo Thank you for using GoldED! :-)
- Echo.
- REM The End.
-
- REM ------------------------------------------------------------------
-