I am try to create a BOT in RPA that will read excel files and then try to execute some standard commands from command prompt using the data in excel files. I am using Blue Prism for this purpose. While I am able to read excel files and store the data in collection, I am not able to automate command prompt in Blue Prism. I tried to use a code stage in c# to create a cmd process ( code is given below), but it does not recognize the 'Process' class.
System.Diagnostics.Process process = new System.Diagnostics.Process(); System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(); startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; startInfo.FileName = "cmd.exe"; startInfo.Arguments = "<command script>"; process.StartInfo = startInfo; process.Start();