Uipath update help me

I have set the UiPath project to run at a specific time every day through the Windows Task Scheduler, but every time I update UiPath, the path of uipathrobot.exe changes, so I have to change the path in the scheduler to the changed path, which is a hassle. What should I do?

Hi @ykt3401
Welcome to the community
Use this file path instead of uipathrobot.exe
C:\Users<your_user>\AppData\Local\UiPath\UiPath.Agent.exe

This path never changes after updates, so Task Scheduler will always work.
Cheers

UiPath updates change the versioned installation folder, so the path of uipathrobot.exe keeps changing. Instead of using that path in Task Scheduler, point the task to the stable path that never changes:

C:\Users\YourUserName\AppData\Local\Programs\UiPath\UiPath.Assistant.exe

This path remains the same after updates, so the scheduled task will continue to work without needing changes.

Hi,

How about using the following bat file?

SET folders=dir C:\Users\xxxxx\AppData\Local\Programs\UiPathPlatform\Studio /a:D /b /O:-N 
SETLOCAL enabledelayedexpansion
FOR /F %%a IN ('%folders%') DO (
 "C:\Users\xxxxx\AppData\Local\Programs\UiPathPlatform\Studio\%%a\UiRobot.exe" execute --file test.nupkg
  GOTO exit 
)
:exit
ENDLOCAL
PAUSE

note: It may be necessary to modify sort option in the first expression.

test (2).zip (403 γƒγ‚€γƒˆ)

Regards,

1 Like