Can't run Ui path's xaml file via cmd as i don't see uirobot.exe file

I can’t see a uirobot.exe file anywhere. how can i un xaml file using cmd?

is this correct way to use it?
“C:\Users\dpsmith\AppData\Local\Programs\UiPath\Studio*UiRobot.exe*” execute --file “C:\Users\dpsmith\Documents\UiPath\Gear_elastic\Main.xaml”

Hi @Bhumika_Thukral

Check the below thread,

Hope it helps!!

Hi @Bhumika_Thukral

Can you try by the below one

"C:\Program Files\UiPath\Studio\UiRobot.exe" execute --file "C:\Users\dpsmith\Documents\UiPath\Gear_elastic\Main.xaml"

not working as i do not have .exe file but i do have UiRobot (as an application file). can that be used?

  • UiRobot.exe execute --process UiPathDemoProcess

what is the UiPathDemoProcess here?
i haven’t created any process. if I do in current workflow, what’s the package name?

The UiPathDemoProcess is the Project name which you want to execute from the Cmd prompt… @Bhumika_Thukral

Replace this value with the name of your current project to execute.

Hope it helps!!

I provided the same but got an error


Hi @Bhumika_Thukral

Publish the code from UiPath studio as custom.You will get a nupkg file.
Give the path of the studio location.
Pass the Path of the nupkg file in the command as showned in the below example.

cd C:\Users\ppaluri\AppData\Local\Programs\UiPath\Studio

UiRobot.exe execute --file "C:\Users\ppaluri\Downloads\Copy.Excel.Table.To.Email.1.0.5.nupkg"

Hope it helps!!