[comp.windows.ms.programmer] Directing StdIO while in Windows

dbl@cs.wvu.wvnet.edu (David Lawson) (05/07/91)

NetFolk,

    I am trying to get the tools together to write a shell for windows.
In particular I want to be able to start either DOS or windows applications
and get the output/send input to the the DOS guys.  Starting and interacting
with the windows EXEs is no problem since they don't have the concept of
stdio, but lookout for the DOS guys.  

Is there anyway I can route the output from the DOS command back to me so 
I can display it???

Also, can I send input to the DOS command form my window???

The best I can come up with is a device driver that takes the
DOS input/output and routes it to the window.  I'm not even entirely sure
if I'll be able to link a device driver this intimately with windows but
this is my best lead yet.  I would appreciate any insights and would be happy
to share any gleaned information (or success stories/nightmares) with anyone.

    Thanks in advance

     Dave Lawson    dbl@h.cs.wvu.wvnet.edu