Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!agate!eos!amelia!ames!pacbell!sactoh0!bkbarret From: bkbarret@sactoh0.UUCP (Brent K. Barrett) Newsgroups: comp.sys.ibm.pc Subject: Re: Let's get rid of COMMAND.COM entirely! Summary: and/or spawn...() Keywords: command,shell,dos Message-ID: <643@sactoh0.UUCP> Date: 23 Jan 89 12:04:51 GMT References: <8831@megaron.arizona.edu> Organization: Sacramento Public Access, Ca. USA Lines: 15 In article <8831@megaron.arizona.edu>, cjeffery@arizona.edu (Clinton Jeffery) writes: > > OK, what's the right way load load and run subprograms from a DOS C program? > system() loads a copy of COMMAND.COM to do its dirty work, right? > exec*() functions never return to the caller, right? There are also the spawn() functions, which will run 808x programs without loading COMMAND.COM. Note that no DOS commands will work, and it will not run batch files.. it expects the file to be 808x machine code, and it doesn't care what the extension is (if any). -- "Somebody help me! I'm trapped in this computer!" Brent Barrett ..pacbell!sactoh0!bkbarret GEMAIL: B.K.BARRETT