Xref: utzoo comp.sys.ibm.pc.programmer:2264 alt.msdos.programmer:1829 Path: utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!iuvax!bobmon From: bobmon@iuvax.cs.indiana.edu (RAMontante) Newsgroups: comp.sys.ibm.pc.programmer,alt.msdos.programmer Subject: Re: Redirecting to/from spawnxx()ed program? Keywords: redirect stdin/stdout Message-ID: <49978@iuvax.cs.indiana.edu> Date: 6 Jul 90 16:39:47 GMT Organization: malkaryotic Lines: 8 I believe that spawn...() doesn't start a command shell, which is what you need to do redirection. There is another call, system() I think, which does start a command shell and feeds the arguments to it. You could use that. The arguments should be essentially a command line that is to be fed to command.com, but I don't have my manuals at hand to check any of this. Or you could spawn...() a command.com, and build an arg list for it that does what you need, but the system() call (in TC2.0) does all that for you.