home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / c / 19550 < prev    next >
Encoding:
Text File  |  1993-01-11  |  843 b   |  19 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!enterpoop.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!acgoldis
  3. From: acgoldis@athena.mit.edu (Andrew C Goldish)
  4. Subject: Executing DOS commands from program
  5. Message-ID: <1993Jan11.214706.11039@athena.mit.edu>
  6. Sender: news@athena.mit.edu (News system)
  7. Nntp-Posting-Host: m1-142-11.mit.edu
  8. Organization: Massachusetts Institute of Technology
  9. Date: Mon, 11 Jan 1993 21:47:06 GMT
  10. Lines: 7
  11.  
  12.   I am writing a Microsoft C program to be run on computer A which is supposed to
  13. get a command from the user (no problem) and execute it ON COMPUTER B, with any
  14. errors and results from computer B's calculation sent back to computer A.  How
  15. exactly do I do this?  Borland C (or at least Pascal) has an EXEC function, but
  16. I can't use that here.  The command is stored as char comnd[255] or so.
  17.  
  18.                             A. Goldish
  19.