In 1 process parallel activities of cmd

Can we run multiple sessions of cmd parallelly in 1 process of UiPath Studio. Like open 2 cmd and write ipconfig in 1 and ping google.com in other?

Hi,
Yes you can do it as per my knowledge.

Let us know if that works.

Regards,
Pavan H

1 Like

Yes you can , unless your both CMD’s differentiate each other by any selector or value .
ex - cmd 1 with IPCONFIG command
cmd2 - without any ipconfig command


This is not working fine.

hey,
Instead of clicking on windows and then going to cmd prompt.

Try with send hotkey: windows+r, this will prompt you to run andyou can do type into as cmd + enter.

This should run as expected for you to type cmd.

Regards,
Pavan H

This works but still the processes does not happen simultaneously rather sequentially. Have to give a delay for 2nd parallel activity.
If in orchestrator we define 2 robots for these 2 processes can it happen simultaneously?

Hi,
No, at a time only one activity should run as per my knowledge.

Regards,
Pavan H

@RagsG,

It’s not possible. At the time only one activity will execute.

I think then from orchestrator we can run multiple activities at same time, like multiple processes in parallel?

hi @RagsG,

Use start process activity and pass the commands on it. like the below image. this is a sample for remove directory. you can use this in parallel to run more commands.

image

thanks

Hey @RagsG

Yes you can.

Find attached Sample for your reference : - CmdSample.xaml (4.9 KB)

Regards…!!
Aksh

1 Like

Thanks

Thanks, this is what I required.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.