0
You can try this code
string BasePath = Application.StartupPath.ToString();
BasePath = Application.UserAppDataPath;
string ResultingPath = System.IO.Path.Combine(BasePath,"%your application name here%");
System.Diagnostics.Process.Start(ResultingPath);
Accepted 0
Ok then mark it as answered
0
I got it going :) Thank You All
string root = Application.StartupPath;
string exePath = System.IO.Path.Combine(root, "i:\\app\\test\\WAREH004.exe");
string argPath = System.IO.Path.Combine(root, "i:\\app\\test\\WAREH004.INI");
Process.Start(exePath, argPath + " 1");
0
But this path is incorrect
P:\\test\\C#\\WAREH004.exe P:\\test\\C#\\WAREH004.INI 1?!!!
0
Apologies for the late reply - Thank You for Assisting.
I get the Error: Cannot find the specified path
string BasePath = Application.StartupPath.ToString();
BasePath = Application.UserAppDataPath;
string ResultingPath = System.IO.Path.Combine(BasePath, "P:\\test\\C#\\WAREH004.exe P:\\test\\C#\\WAREH004.INI 1");
System.Diagnostics.Process.Start(ResultingPath);
I can start - run - location then the program comes up.
Please Assist