This is what I ve been doing:
Process cmd = new Process();
cmd.StartInfo.FileName = @"cmd.exe";
cmd.StartInfo.Arguments=@"/K cd/";
cmd.StartInfo.Arguments=@"/K cd C:\Users\HP\Documents\NooJApp\_App";
cmd.Start();
cmd.WaitForExit();
But it seems that the second argument is not working, because cmd is not responding to it, it only responds to the first argument.
So can anyone help me with that.
Thanks
cmd /K ...command line be you want to execute?