I have .NET 3.5 C# Application which is running a second application with arguments.
It works well if I run the C# application with Visual Studio 2012 RC. But when I run the C# application via a shortcut or double-click on its .exe file it does not.
This is how I am starting the second application from my C# application:
serv = "100";
string cmd_args = " -nojoy -nomaster -nointro -game cstrike -appid 10 -gl -steam +connect 80.241.245.102:" + serv;
Process.Start(ucp_path, cmd_args);
The problem is that the second application is not getting the arguments that are passed to it from the C# application.
Does anyone have any idea what’s wrong?
Enclose your arguments with quotes “\” [args] \””. Also check if the path is absolute.