If I execute an exe from within a vbscript, how can I retrieve the
output sent to stdout? Ideally, without using a temp file. This
particular exe produces multiple lines of output.

Re: Get stdout from EXE by Joe

Joe
Sun May 01 03:52:16 CDT 2005

"Eli" <u1@zolx.com> wrote in message
news:vcv871l87grcu4r94qe5rgt9hstrkp7foo@4ax.com...
> If I execute an exe from within a vbscript, how can I retrieve the
> output sent to stdout? Ideally, without using a temp file. This
> particular exe produces multiple lines of output.
>
Check the exec method of the Shell class.


--

Joe (MVP)

https://mvp.support.microsoft.com/profile=8AA9D5F5-E1C2-44C7-BCE8-8741D22D17A5



Re: Get stdout from EXE by Csaba

Csaba
Mon May 02 15:37:11 CDT 2005

Eli wrote:
> If I execute an exe from within a vbscript, how can I retrieve the
> output sent to stdout? Ideally, without using a temp file. This
> particular exe produces multiple lines of output.

The following thread and links should provide you plenty of ideas:
http://groups-beta.google.com/group/microsoft.public.scripting.vbscript/browse_frm/thread/b2004813fb2e6eba/

Csaba Gabor from Vienna