Running UiPath Assistant from command line

Nothing happens when trying to run UiPath assistant from command line, the run does not initiate

Hi @neha.verma

You are giving the UiPath assistant path but in command prompt you have to give the Project folder path.
For example, if your program is located in the C:\UiPath\MyProject folder, type cd C:\UiPath\MyProject in the command prompt.
Once you are in the correct folder, type the following command to start the UiPath Assistant:UiPath.Assistant.

I hope it may helps for your automation!!

Hi @mkankatala that did not help, any more suggestions?

Hi @neha.verma

  1. Go to the installation folder is C:\Program Files (x86)\UiPath\Studio.
  2. Change the directory to the UiPath Assistant folder by using command: cd UiPath.Assistant
  3. Run the command to launch UiPath Assistant: UiPath.Assistant.exe

Hope this help!!

It does not help, I need to launch a specific process xaml from command line using UiPath assistant.

Hi @neha.verma

Please watch below video for your reference.

Regards,

Ok Try this

  1. Go to the installation folder is C:\Program Files (x86)\UiPath\Studio.
  2. Change the directory to the UiPath Assistant folder by using command: cd UiPath.Assistant
  3. Run the command to launch UiPath Assistant: UiPath.Assistant.exe startprocess “C:\MyProject\Main.xaml”

@neha.verma can you try

  1. cd "C:\Program Files\UiPath\Studio"
  2. UiRobot.exe execute --file "C:\path\to\your\xaml\file"

I’m having the same issue, none of the solutions provided above help. @neha.verma did you ever figure it out?

Yes, I had to find path of UIPathAssistant.exe on my machine rather than robot.exe in the newer version. It works using that.

Thanks,
Neha

@neha.verma can u share the command because when i try to launch with uipathassistant.exe i am getting the same error.