Hi Alan:
Use the Process class from the System.Diagnostics namespace.
With the proper setup you can read the StandardOutput stream, which is
what would normally be displayed in the console window.
There are examples in the documentation.
HTH,
--
Scott
http://www.OdeToCode.com
On Mon, 16 Aug 2004 11:26:40 -0400, "A.M" <no*****@online.nospam>
wrote:
Hi,
I want to show the output of a console app (lile TRACERT.EXE) on wa web
page.
What would be the best way to capture the output of a console app into a
string in a ASP.NET program?
Thanks,
Alan