Change the < to >, currently you are directing the output of your command back to your command.
On Fri, Oct 23, 2009 at 1:56 AM, Richard Blackman <[email protected]> wrote: > > Hi All, > > I am trying to capture the output from an EXECUTE statement on a command > line program but nothing is being captured, even though I know there is some > output. > > Here is the command > > CMD = '"C:\usr\lib\sendmail -t < ':EMAIL.TEMPFILE:'"' > EXECUTE "DOS /c":CMD CAPTURING TRASH > > Cheers, > > Richard Blackman > > -- > View this message in context: > http://www.nabble.com/Capturing-output-from-a-Command-line-program--tp26021253p26021253.html > Sent from the U2 - Users mailing list archive at Nabble.com. > > _______________________________________________ > U2-Users mailing list > [email protected] > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
