Getting Dos output through memory
Posted on 1998-10-29
How do I get DOS output when typing a command?
Please don't tell me to do it through a file, only through memory. One of the reasons is that when I type some command, I can get an Error message as an output. I must know what this error is, but the problem is that it cannot be written to a file.
Probably this can be done by Pipes, but I don't know how to do it properly.
Points will be given for source code that can "catch" every Dos output, including errors.
You can post a source code or a web address of freeware source/component.