I need to enter account and password in command line. How Can I achieve this? I'm using the following code.
Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = @"cmd.exe";
startInfo.Arguments = @"/k" + Commmand;
process.StartInfo = startInfo;
process.Start();
Below are the expected prompts resulting from the cmd
process: