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,710 points
2,475 views

1 answer to this question.

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
• 58,080 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
• 58,080 points
3,576 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, 2019 in RPA by Abha
• 28,120 points
320 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, 2019 in RPA by Anvi
• 14,170 points
3,509 views
+2 votes
1 answer

How to extract data from website and save it to excel using Blue Prism?

Hey, you can use following steps to ...READ MORE

answered Aug 19, 2019 in RPA by Abha
• 28,120 points
5,056 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
• 58,080 points
4,540 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
• 58,080 points
14,045 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
• 58,080 points
2,361 views
0 votes
2 answers

RPA tool for C# Developer beginer

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

answered May 10, 2019 in RPA by AndrewNJ
3,135 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
• 58,080 points
3,896 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
• 58,080 points
1,141 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP