Reading Output from Shell Command
- From: Kevin Mansel via .NET 247 <anonymous@xxxxxxxxxxxxx>
- Date: Thu, 07 Apr 2005 11:36:34 -0700
Ok, basically this is my problem. I'm building a console app to call a dos program. So i'm using the Shell command to call the program, now depending on what happens, I want to read the output that this program returns. I'm just missing the steps here. I know that I can set the Shell command to an integer, but this only returns a 0 to me telling me that it executed, not what is being returned to the console by that application. Is there a way to find out this information?
Thanks!
--------------------------------
From: Kevin Mansel
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>HMrdIkohokioRR4woWbZSQ==</Id>
.
- Follow-Ups:
- Re: Reading Output from Shell Command
- From: Herfried K. Wagner [MVP]
- Re: Reading Output from Shell Command
- Prev by Date: Moving a windows form from a windows app to a class library.
- Next by Date: Re: Writing TIF to database
- Previous by thread: Moving a windows form from a windows app to a class library.
- Next by thread: Re: Reading Output from Shell Command
- Index(es):