Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had designed an application app.exe which reads the input from command prompt and will perform action accordingly.

To run that application I am executing the following command in command prompt:
"C:/Users/abhinay/Desktop> echo int_value | app.exe"
Note: int_value is the integer to be passed.

Now I had to invoke that command through windows form application i.e, from a GUI that takes int_value through text box and invoke the app.exe by a button.

I am not getting how to invoke the cmd to pass message using pipe through windows form app.

Any help will be appreciated.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900