MS DOS being normal

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[
 
Wrong forum - this belongs in the windows section.

Use a .bat file extension instead of a .com extension.
 
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:
 
Back