How to set Uirobot.exe file to Environment Variables?

Hello experts !
I have to do this to run uirobot.exe

My aim is to run uirobot.exe without specifying the path of uirobot.exe.
Like this :
Screenshot_2

so that i can access uirobot.exe where ever it is located.

Hello @prabin_chand1

You can try this way
1.Find UiRobot.exe and create shortcut
2.Copy shortcut to “C:\Users\Prabin.chand” folder and rename “UiRobot - Shortcut” to anything as you want but for this case i will change to “UiRobot”
3.open cmd and try type “UiRobot.lnk” (L not i )

Hope this work for you
Best Regard,

You need to add your UiRobot.exe path in the System Environment Variables or User Environment Variables.

Then a System restore is needed to apply the variable path location.

2 Likes

i did, But when i execute uirobot.exe from cmd.
Window prompt as this.

It seems you are getting an “Access is denied.”. It may be that on your system you have more UiRobot.exe files, or indeed, this approach is not allowed.

Example:

image

In that case, try with %localappdata%\Programs\UiPath\Studio\UiRobot.exe

need to set this path %localappdata%\Programs\UiPath\Studio\UiRobot.exe as environment variable ?

Actually, you can do like that:

  1. Close any cmd.exe consoles
  2. Create a new User/System variable: UIPATH_ROBOT_EXE = "C:\Program Files\UiPath\Studio\UiRobot.exe"

Example:

  1. In order to call it, run the %UIPATH_ROBOT_EXE% command

Example:

1 Like

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