Message-ID: <20001223075639.7585.qmail@web3406.mail.yahoo.com> Date: Fri, 22 Dec 2000 23:56:39 -0800 (PST) From: Awake Subject: Re: Is there a way to execute dos commands, or call other executables within C? To: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Reply-To: djgpp AT delorie DOT com --- simone wrote: > 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 There are many functions prototyped in process.h. You might want to use system(), exec(), etc. Check out the info. ===== Peace. [- a w A k e -] __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/