Try searching for console redirect. I have an app at home that does it... I am pretty sure that there is something in jcl or jvcl for it.
Regards Sean Cross IT Systems Development Manager Catalyst Risk Management PO Box 230 50 Dalton St Napier 4140 DDI: 06-8340362 mobile: 021 270 3466 Visit us at http://www.catalystrisk.co.nz/ Offices in Auckland, Napier, Wellington & Christchurch Disclaimer: "The information contained in this document is confidential to the addressee(s) and may be legally privileged. Any view or opinions expressed are those of the author and may not be those of Catalyst Risk Management. No guarantee or representation is made that this communication is free of errors, viruses or interference. If you have received this e-mail message in error please delete it and notify me. Thank you." > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Rob Cameron > Sent: Wednesday, 16 May 2007 5:48 a.m. > To: [email protected] > Subject: Capturing responses from applications started in ShellExecute > > I am using ShellExecute to run an executable from within a Delphi > application. It works fine, but when I run the application in a command > window, it generates a log - some hundreds of lines of text which is > displayed in the window. Can anyone tell me (or point me at a useful > link) how to capture this text and, e.g. display it in a TMemo > component? > > Thanks > > Rob > _______________________________________________ > Delphi mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

