Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Reference Manual for GoldED 2.51 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

    For operation in batch files, GoldED has a set of errorlevel values:

          032 or higher   Error exit (check the logfile for details).
          004             Echomail entered.
          002             Netmail entered.
          001             Local mail entered.
          000             No errors. No mail entered.

       Add  values  together  to  find  the  combined  error levels. For
       example, error level 6 is returned if netmail and echomail  (2+4)
       was entered.

        Example RUNGOLD.BAT or RUNGOLD.CMD file:

        === Cut ===
        @echo off
        golded.exe
        rem ged386.exe
        rem ged2.exe
        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 nomail
        :error
          echo golded error exit!
          goto end
        :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
        :nomail
          echo **** No new mail entered.
        :end
          echo.
          echo Thank you for using GoldED! :-)
        === Cut ===

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson