471,066 Members | 1,288 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,066 software developers and data experts.

reading command line program output

Hi Experts,

I need to get the output of a command line program in my C# application. The
command line program is an decryption program which gives the decrypted text
of a file specified as the parameter.

Thanking in advance

Regards
Ganesh
Nov 18 '05 #1
2 1229
Hi Ganesh,

redirect the command line program to txt file like this:

enc.exe >> out.txt

and then parse the out.txt file to extract the information you need.

Regards,
Martin Kulov
www.codeattest.com

Nov 18 '05 #2
Process.StandardOutput

Eliyahu

"Ganesh Ramamurthy" <ga****@kottsoftware.com> wrote in message
news:uN**************@TK2MSFTNGP11.phx.gbl...
Hi Experts,

I need to get the output of a command line program in my C# application. The command line program is an decryption program which gives the decrypted text of a file specified as the parameter.

Thanking in advance

Regards
Ganesh

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by zhiwei wang | last post: by
4 posts views Thread by Kevin Mansel via .NET 247 | last post: by
10 posts views Thread by Tyler | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.