MS DOS being normal

By TheMaDHaCkER
Oct 11, 2011
Post New Reply
  1. Am trying to write a batch file for the first time in a long time and I am getting an error message with a simple echo command

    From a Command line I enter

    :
    edit test.com
    echo hello world
    save test.com
    ;

    Then I enter test.com from the command line and get a

    "The NTVDM CPU has encountered an illegal instruction.
    CS:058b IP:fffc OP:fe ff ff 00 00 Choose 'Close' to terminate the application."

    I can't see what the problem is because this is just a simple echo command and I have hit it on a number of systems. Any clue would be appreciated because it seems that I must be overlooking something very simple.

    Please E-Mail Me @

    TheMaDHaCkeR

    @

    Live.co.uk[
  2. Wrong forum - this belongs in the windows section.

    Use a .bat file extension instead of a .com extension.
  3. TheMaDHaCkER

    TheMaDHaCkER Newcomer, in training Topic Starter

    Sorry and thanks for the help

    I was under the impression that this was the Windows OS Forum but thanks for the help anyway I will continue to work on this thing but I was still thinking in CP/M mode :confused:


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.