my question here is pretty simple how do I run a .exe file using C# code? I don’t know how much more clear I can get here.
>Solution :
using System.Diagnostics;
namespace run_cmd_command
{
class Program
{
static void Main(string[] args)
{
string command = "/C notepad.exe";
Process.Start("cmd.exe", command);
}
}
}