Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: DOD 5.0 Issue  (Read 5044 times)

0 Members and 1 Guest are viewing this topic.


    Topic Starter


    • Experience: Beginner
    • OS: Windows 7
    DOD 5.0 Issue
    « on: November 04, 2012, 09:58:48 PM »
    Iím hoping someone here can point me in the right direction. I have an old computer system (1993 Vintage) that is running dos 5.0. I have an application that automatically runs when the computer boots. The software works fine when running on the old system although every once in a while this error does pop up. I use this application a lot and wanted to see if it would work running on newer computer. I created a mirror copy of the older drive and formatted a newer hard drive. (Itís an exact mirror i.e. fat file system, hard drive size etcÖ)

    Everything looked like it was going to work out fine until I went to a new menu and the program crashed. I can reboot the system and use it for a short while before getting caught in the same loop. When the program crashes, Iím prompted to enter the time and date or press enter to continue.  I have entered a time and day, as well as just pressing enter, the results are the same. I believe I found the file that generates the loop; however what I am unsure of is why.

    Here is the line in the .bat file that either starts the program or this time & date loop.

    Code: [Select]
    if errorlevel 200 goto ERROR
    if errorlevel 100 goto START
    goto END

    I donít know what the errorlevel 200 is referring to, or what conditions cause an error level 200. Anyone have any ideas on what I should look into next.

    Salmon Trout


      Thanked: 936
      • Yes
    • Computer: Specs
    • Experience: Experienced
    • OS: Other
    Re: DOD 5.0 Issue
    « Reply #1 on: November 05, 2012, 02:29:40 AM »
    The batch script is testing a value returned by a program or command. Errorlevels are not always a sign of an actual "error" or problem, so the immediately preceding line of the batch file (before the first if "errorlevel" line) will tell you what is the source of the return code. In general errorlevels such as this are tailored by the program creator so an idea of what it is will be helpful. Best of all if you post the entire batch script, else we are just guessing here.