I\'m trying to start an application programatically, but it always runs it in the folder of my application... For example:
If my app is located in C:\\MyApp\\myapp
Just set the WorkDirectory property.
process.StartInfo.WorkingDirectory = Path.GetDirectoryName(application.Filename);
I guess you mean ProcessStartInfo.WorkingDirectory Property
Use process.StartInfo.WorkingDirectory = pathToTheFolder;.
process.StartInfo.WorkingDirectory = pathToTheFolder;