Automate Command Prompt using blue prism

0 votes

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();

Any help or guidance in the right direction will be appreciated

Oct 5, 2018 in RPA by eatcodesleeprepeat
• 4,670 points
698 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

A more 'Blue Prism-ish' solution would be to launch 'C:\Windows\System32\cmd.exe'' with your needed commandline. But your solution is technically better I believe.

answered Oct 5, 2018 by Priyaj
• 56,140 points

Related Questions In RPA

0 votes
1 answer

Pull a section of text from a word document using Blue Prism

You can highlight the text in your ...READ MORE

answered Nov 13, 2018 in RPA by Priyaj
• 56,140 points
755 views
0 votes
1 answer

How to view PATH for all System Variables using command prompt?

Hi Misha, so if you want to ...READ MORE

answered Mar 8 in RPA by Abha
• 8,200 points
16 views
0 votes
1 answer

How to automate Citrix based applications in Blue Prism?

Hi Bilal, Surface Automation techniques with Region ...READ MORE

answered Mar 18 in RPA by Anvi
• 7,160 points
219 views
0 votes
2 answers

Limitations of Blue Prism and Automation Anywhere

Sub task can return false positive to ...READ MORE

answered Mar 7 in RPA by anonymous
883 views
0 votes
1 answer

What is code segment in Blueprism and how to implement it?

Blue Prism - Code Stage The code stage ...READ MORE

answered Sep 28, 2018 in RPA by Priyaj
• 56,140 points
772 views
0 votes
1 answer

Error : Failed to perform step 1 in Navigate Stage '-----' on page '----' - Not Connected

Do you have Attach bookmark created? When ...READ MORE

answered Sep 28, 2018 in RPA by Priyaj
• 56,140 points
2,252 views
0 votes
1 answer

Spy an active accessibility combobox in blue prism?

My ComboBox is standard HTML Combo Box(Element ...READ MORE

answered Oct 1, 2018 in RPA by Priyaj
• 56,140 points
631 views
0 votes
2 answers

RPA tool for C# Developer beginer

Hi! You can try Rpa Suite for Visual ...READ MORE

answered May 10 in RPA by AndrewNJ
380 views
0 votes
1 answer

Using GLobal Send Keys how to send PrtScr in Blue Prism?

Navigate stage with Global Sendkey and text ...READ MORE

answered Oct 24, 2018 in RPA by Priyaj
• 56,140 points
1,328 views
0 votes
1 answer

Create a email login object using basic blue prism

Reset the password by going ahead with the ...READ MORE

answered Nov 2, 2018 in RPA by Priyaj
• 56,140 points
162 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.