Date: Sat, 23 Dec 2000 10:22:07 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: simone 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 Precedence: bulk > From: simone > 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.