reading command line program output

  • Thread starter Thread starter Ganesh Ramamurthy
  • Start date Start date
G

Ganesh Ramamurthy

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top