TechSpot

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 TS Rookie 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:
     

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...