Hello everyone,
The topics I found on this subject are a little old. In all of them, there is the option to run “UiRobot.exe”, but it seems that the name now is “UiPath.Agent.exe”.
When I’m executing the command line " C: \ Users \ fflei \ AppData \ Local \ UiPath \ UiPath.Agent.exe", the agent is executed normally, but when I try to pass the parameter that execute the specific robot I want, it does nothing.
With the community edition you have to keep in mind it will be updated automaticly. So make sure to select the correct version directory.
Please be very carefull with passwords if you use them. Use the windows credential manager for that. Don’t store your passwords in your UiPath code.Even when you create nupkg packages, credentials can still be retreived.
Read this topic. The commands are still the same
At this time i have the 20.4.2 community version. So in order to start a simple job you can run this from a windows batch file for example. So it starts straight away and avoid the UiPath assistant.
cd C:\Users\jvanmarion\AppData\Local\UiPath\app-20.4.2\
UiRobot.exe -file "C:\Users\jvanmarion\Documents\UiPath\testOpenBrowser\Main.xaml"
UiRobot.exe is in a folder within Local App Data. For example mine is at C:\Users{UserName}\AppData\Local\UiPath\app-20.4.1-beta0022\UiRobot.exe
You should use whatever the latest app folder is in your UiPath LocalAppData. As far as i know the documentation is accurate for this executable’s parameters.