Message-ID: <3A43970E.FFA62D2F@home.com> From: simone X-Sender: "simone" (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? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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