home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15813 < prev    next >
Encoding:
Internet Message Format  |  1992-11-14  |  750 b 

  1. Path: sparky!uunet!gumby!wmichgw!832root
  2. From: 832root@gw.wmich.edu
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Executing DOS commands in C
  5. Message-ID: <1992Nov13.105428.6349@gw.wmich.edu>
  6. Date: 13 Nov 92 10:54:28 EST
  7. Organization: Western Michigan University
  8. Lines: 11
  9.  
  10. Is there a relatively simple way in C to have a program execute an
  11. external command (for instance 'dir'), and have it direct the output
  12. to where ever the program's output is going?
  13.  
  14. I'm using DCC and WB2.04.
  15.  
  16.  ----------------------------------------------------------------------------
  17.  Rick Root         root@areality.UUCP    832root@gw.wmich.edu
  18.                    99root@grog.lab.cc.wmich.edu
  19.  ----------------------------------------------------------------------------
  20.  
  21.