www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/22/12:06:39

Message-ID: <3A43970E.FFA62D2F@home.com>
From: simone <wyosimone AT home DOT com>
X-Sender: "simone" <wyosimone AT mail> (Unverified)
X-Mailer: Mozilla 4.75 [en]C-gatewaynet (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Is there a way to execute dos commands, or call other executables within
C?
Lines: 7
Date: Fri, 22 Dec 2000 17:05:36 GMT
NNTP-Posting-Host: 24.183.231.101
X-Complaints-To: abuse AT home DOT net
X-Trace: news2.rdc2.tx.home.com 977504736 24.183.231.101 (Fri, 22 Dec 2000 09:05:36 PST)
NNTP-Posting-Date: Fri, 22 Dec 2000 09:05:36 PST
Organization: Excite AT Home - The Leader in Broadband http://home.com/faster
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Simple question for the experts:

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?

Thanks

- Raw text -


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