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