Running an exe in with commandline parameters
I have exe which i want to execute from c#, when I try to run the file from c# it does nothing.
When i run the file from DOS it works.
What do i wrong?
My code is:
foreach (string srcFile in srcFileDialog.FileNames)
{
string exec = System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\OTTO.EXE";
string param = srcFile + " -cA";
System.Diagnostics.Process.Start(exec, param);
}
In annex the exe file.
Can somebody help me?