Setting the woring directory for an Application
Posted: Mon Mar 03, 2008 1:19 pm
Hi,
I am evaluating Ranorex and I would like to know how can I set the working directory for an Application before it starts, like this:
System.Disgnostics.Process pr = new Process();
pr.StartInfo.WorkingDirectory = path;
pr.StartInfo.Arguments = args;
pr.StartInfo.FileName = exe;
pr.Start();
pr.WaitForInputIdle();
I would like to do something like this but with the Application class and if it is not possible, how can I use the Process class with Ranorex.
Thanks
I am evaluating Ranorex and I would like to know how can I set the working directory for an Application before it starts, like this:
System.Disgnostics.Process pr = new Process();
pr.StartInfo.WorkingDirectory = path;
pr.StartInfo.Arguments = args;
pr.StartInfo.FileName = exe;
pr.Start();
pr.WaitForInputIdle();
I would like to do something like this but with the Application class and if it is not possible, how can I use the Process class with Ranorex.
Thanks