I am trying to run PhantomJs.exe
throw C# code.
My Code :
Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.WindowStyle = ProcessWindowStyle.Normal;
startInfo.FileName = "cmd.exe";
startInfo.WorkingDirectory = @"E:\";
startInfo.Arguments = "some string code here";
startInfo.CreateNoWindow = true;
process.StartInfo = startInfo;
process.Start();
When I run it is going to WorkingDirectory E:/
but Arguments are not writing on cmd prompt.
Can any buddy suggest me to run arguments on cmd.exe?