delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/26/07:27:18

Date: Sun, 26 Sep 1999 08:35:24 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Ringo <Ringo1 AT bellsouth DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: incorrect ms dos version
In-Reply-To: <37EC1ACA.24D900D0@bellsouth.net>
Message-ID: <Pine.SUN.3.91.990926083341.17688L-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 24 Sep 1999, Ringo wrote:

> I'm running dos 6.22, trying to use the "system" comand to run a dos
> program called 'say'. When the program gets to the line here:
> 
>      sprintf(command,"say irprob.txt");
>      system("command");
> I get an error "Incorrect MS-DOS version"
> this used to work, then I installed allegro, and it started, any ideas?

Does it work if you type "say irprob.txt" from the command line?

Also, I hope that the quotes in the following line:

>      system("command");

are a typo: you should say ``system (command);''.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019