I have a C# Windows Form application. I want to execute another program that is in the same directory with a button click. I only need this code to execute another program.
I have the following code:
using System.Diagnostics;
private void buttonRunScript_Click(object sender, EventArgs e)
{
System.Diagnostics.ProcessStartInfo start =
new System.Diagnostics.ProcessStartInfo();
start.FileName = @"C:\Scripts\XLXS-CSV.exe";
}
How can I make this work properly? It is not doing anything right now.