Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!tank!msuinfo!cpsin1!draper From: draper@cpsin1.uucp (Patrick J Draper) Newsgroups: comp.sys.ibm.pc.programmer Subject: Invoking Command.com processor Message-ID: <1990Jun6.092830.16811@msuinfo.cl.msu.edu> Date: 6 Jun 90 09:28:30 GMT Sender: news@msuinfo.cl.msu.edu Organization: Michigan State University, East Lansing Lines: 13 Hi everybody, I'm having some trouble with invoking a secondary command processor. What I'd like to do is call from a program (written in Modula-2 or C) a string such as 'sort < a > b' to sort a data file. I've looked at a DOS reference, and couldn't find anything. I recall reading somewhere, maybe on the net, about a way to pass a string to the command processor already resident. Does anybody have any ideas? Patrick Draper ---- Michigan State University