How to Run a Process as Batch File so that end user can just double click on it to execute

I have a requirement where I need to run a process as bat file so that end user can use it without opening studio, Not able to figure out how can I do that

If the process should be run on the same machine, you can use the command line interface. Robot - Command Line Interface - https://docs.uipath.com/

Note that robot / UiPath Assistant should be installed on the machine for it to work.

Hi

Would recommend to check this thread where they discussed on same note and got it resolved

Cheers @Nikhil_Jain

1 Like

Hi,

I have Tried the same, but after double clicking the bat file, the cmd opens, that command is typed and nothing happens, cmd window gets closed, and UiRobot is not Started

path used for UiRobot is : “C:\Users****\AppData\Local\Programs\UiPath\Studio\UiRobot.exe”

Kindly use - “C:\Program Files (x86)\UiPath\Studio\UiRobot.exe” -f “D:\Test\Main.xaml”
I have checked, its working as suggested by @Palaniyappan

1 Like

This will just trigger the robot but we need a process to be triggered with this bot isn’t it
So the filepath of the nuget file or the main xaml file also needs to be mentioned something like this

notation:
“C:\Program Files (x86)\UiPath\Studio\UiRobot.exe” -f “D:\Test\Main.xaml”

@Nikhil_Jain

yeah correct so putting the UiRobot Path Along with Execute --file “nupkg path” helped me

@Nikhil_Jain

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