If I go to Start > Run and type in
C:\folder\Program.exe A=1
My program works.
It also works if I create a shortcut to the .exe and edit the Properties to append A=1
to the Target path.
However if I try to run
var p = new Process();
p.StartInfo.FileName = @"C:\folder\Program.exe";
p.StartInfo.Arguments = "A=1"
p.Start();
or
Process.Start(@"C:\folder\Program.exe, "A=1");
it doesn't.
What is the difference between these two calls, and how can I change my code call so it runs exactly the same way as when I type the value into Start > Run?