Unable to run attanded robot from batch file

Hi all!
After Studio updated to version 2022.10.1 I’am unable to run any robot from batch file. To be clear running through batch works file with Windows-Legacy projects, but none of my robots on new “Windows” framework from batch file starts. Command prompt just opens for a second and closes.
I’d be grateful for any help

PS: batch file contains “UiRobot.exe-Path” -File “Project-Path\Main.xaml”

Hi,

In Windows compatibility project, we cannot run xaml file directly as the following document.

As a workaround, can you try to publish it and use execute --file xxx.nupkg or --process option.

Regards,

try this

C:\Users\User\AppData\Local\Programs\UiPath\Studio\UiRobot.exe -file “\NetworkName\Folder\Main.xaml”

Hello, how exactly would I do this?

Thank you! Now it works

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