Prasad Raveendran
How can i invoke an exe with arguments from C# console

I have an exe file which needs to be invoked from C# console application. From command prompt i will invoking this exe as below

C:\ > “exe path” -n “5” -i “file path” -l “log file path” -a “appserverpath” -u “userid -p “pwd”

I want to try the same from Console using Process() class.

By Prasad Raveendran in .NET on Apr 23 2020


Most Popular Job Functions


MOST LIKED QUESTIONS