www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/23/03:28:41

Date: Sat, 23 Dec 2000 10:22:07 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: simone <wyosimone AT home DOT com>
Message-Id: <7263-Sat23Dec2000102207+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp AT delorie DOT com
In-reply-to: <3A43970E.FFA62D2F@home.com> (message from simone on Fri, 22 Dec
2000 17:05:36 GMT)
Subject: Re: Is there a way to execute dos commands, or call other executables within
C?
References: <3A43970E DOT FFA62D2F AT home DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: simone <wyosimone AT home DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 22 Dec 2000 17:05:36 GMT
> 
> I am using the djgpp c compiler - is there a way to execute dos commands
> like 'dir > file', or perhaps call a batch file for execution, or maybe
> another executable from within my C program?

Look up "popen" in the library reference, libc.info.

- Raw text -


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