Home All Groups Group Topic Archive Search About

capture application output

Author
9 May 2006 1:40 PM
George Lake
Hi,
    How can I capture the text output of a console app?
    For example, I would like to capture the outpur of "qwinsta"

    Thanks.

Author
9 May 2006 1:52 PM
Herfried K. Wagner [MVP]
"George Lake" <g@lake.com> schrieb:
>    How can I capture the text output of a console app?
>    For example, I would like to capture the outpur of "qwinsta"

<URL:http://dotnet.mvps.org/dotnet/samples/misc/#RedirectConsole>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
9 May 2006 3:33 PM
Cor Ligthert [MVP]
George,

You mean something as this,

http://www.vb-tips.com/default.aspx?ID=1f8f3eaf-27a1-40d7-9e0b-23cab5aa1049

I hope this helps,

Cor

Show quoteHide quote
"George Lake" <g@lake.com> schreef in bericht
news:ee3dY42cGHA.3352@TK2MSFTNGP03.phx.gbl...
> Hi,
>    How can I capture the text output of a console app?
>    For example, I would like to capture the outpur of "qwinsta"
>
>    Thanks.
>
>
Author
9 May 2006 4:44 PM
George Lake
OK, now, how about the same from an ASP.NET page?

Thanks.
Show quoteHide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:%23VTBh23cGHA.2456@TK2MSFTNGP04.phx.gbl...
> George,
>
> You mean something as this,
>
> http://www.vb-tips.com/default.aspx?ID=1f8f3eaf-27a1-40d7-9e0b-23cab5aa1049
>
> I hope this helps,
>
> Cor
>
> "George Lake" <g@lake.com> schreef in bericht
> news:ee3dY42cGHA.3352@TK2MSFTNGP03.phx.gbl...
>> Hi,
>>    How can I capture the text output of a console app?
>>    For example, I would like to capture the outpur of "qwinsta"
>>
>>    Thanks.
>>
>>
>
>
Author
9 May 2006 9:00 PM
Herfried K. Wagner [MVP]
"George Lake" <g@lake.com> schrieb:
> OK, now, how about the same from an ASP.NET page?

Basically you can use the same code if the script has rights to execute
files on the server.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>