MarketplaceStudioActivityCommand Prompt Activities

Create your first automation in just a few minutes.Try Studio Web

Command Prompt Activities

Command Prompt Activities

by Manish Jagtap

6

Activity

Downloads

13.5k

Hiroaki Tanaka
Posted a year ago

Hi, As umabharathi rajamari said, I would also like to see a version compatible with VB and Windows released.

umabharathi rajamari
Posted 2 years ago

I need to use this activity in Windows version not windows legacy 

Are there any ativity that support VB, Window

Wee Ping Loh
Posted 2 years ago

Hi,

 I am using the ExecuteSingleCommand activity, but my folder path and the filename needs to be pass in as variables. I tried to do that but not successful. Can you provide an example , thanks.

BR,

Raymond

Christalponmalar Nadar
Posted 2 years ago

can we use multilpe line comments ?

how to use multiple line comment

Madivada Haripriya
Posted 2 years ago

Hi Alll

Any one can explain the SSHRunShellCommandActivity ?

How to use properties?

Kiran Batchu
Posted 3 years ago

Is this activity not supported in Windows Project  in Comminity Edition 2022.10.2? unable to view this activity in the market place to install neither not able view it after configuirng it as an offline package.

lior wirt
Posted 3 years ago

I am trying to run move command and i want to get error message as output (like "Access is denied" for example) .

How can i do it ?

Gabriel
Posted 3 years ago

Any chance to make it work on remote machine ? 

I've tried with RDP connection but the command prompt is executing on my local machine, instead of the remote one (yes, activity have been inside of Use Application card).  I've running the automation from my local machine from where I have installed Studio 2022.4.2

Manish Jagtap
Posted 3 years ago ago

Hey Gabriel,

Currently, the activity can only create a command prompt session on the host machine where the UiPath process is running.

The activity cannot create a command prompt session on a Remote Machine.

Deepak Kumar
Posted 5 years ago

How to execute python file in cmd as it asking for cmd process ?

So as per cmd process it python.exe but not able to pass the same in process.

Please help ?

Raj Parsana
Posted 5 years ago

Can i send multiple commands at once???

Manish Jagtap
Posted 5 years ago ago

Hello Raj,

Yes, you can send multiple commands at once using & or && operator between commands.

For Eg: 

In the ExecuteSingleCommand pass the command

"echo Hello & echo World" as input.

If you are assigning any value to a variable in cmd, I would suggest you use OpenCommandPrompt Activity and then execute the commands using ExecuteCommand Activity on the same cmd session**.**

If you are executing any specific commands and face any issues with the activity, feel free to reach out to me on the contact details present in the Connect profile**.**

Yoichi Suetake
Posted 5 years ago

Hi,

Thank you for useful custom activity.

My question:  Is there any way (or plan) to get console text before Close command?

I know we can use Execute Single Command activity to get output for each command but it seems a little bit inefficient.

Regards,

Manish Jagtap
Posted 5 years ago ago

Hello Mr.Suetake,

Glad to hear that this activity was useful to you.

Currently, there is no other way to get the console text before using the Close command.

If you want only the output of specific commands from multiple commands that were executed, you can also use the GetConsoleOutput activity and then get the required command output by splitting the output string, using the input command as the split keyword.

The initial plan was to have an activity that could get the output before the close command but was not possible due to other shortcomings.

However, will analyze from my end if there are any workarounds to overcome these shortcomings.

Publisher

Manish Jagtap

Visit publisher's page

License & Privacy

MIT

Privacy Terms

Technical

Version

1.0.8

Updated

May 1, 2021

Works with

Studio: 19.0 - 22.10

Certification

Silver Certified

Application

Microsoft Windows

Support

UiPath Community Support

Resources