Re: system() function
- Posted by Brian Broker <bkb at CNW.COM> Dec 18, 1999
- 479 views
Thank you Robert and Kat for your suggestions but perhaps I should be more specific. I would like to write a Windows GUI for a DOS command-line program. Writing to, and reading from a file seems rather inefficient in this case. Is there an easy way to redirect the output from the console to my GUI without going via disk or user intervention (like manually copying from the console window)? Perhaps by directing the output to the clipboard where I can easily grab it or maybe even more direct by just copying info from the console? Has anybody done something like this before? Thanks, Brian