Hello,
i need to start another process from on eUiPath flow.
so i am using start process and passing path of .bat file.
in .bat file i have below -
“C:\Program Files\UiPath\Studio\UiRobot.exe” -file “E:\apps2_s2_rpa\FactoryINDUSAPPS2\iPLAN\User Addition-License Activation\Main.xaml”
and passing this .bat filepath to start process
but it is opening bat file and closing but not starting workflow.
help me on same
@Mathkar_kunal
In your bat file, try adding execute keyword between the exe and the file path like this
"C:\Program Files\UiPath\Studio\UiRobot.exe" execute --file "E:\apps2_s2_rpa\FactoryINDUSAPPS2\iPLAN\User Addition-License Activation\Main.xaml"
J0ska
March 6, 2026, 1:28pm
3
Starting “XAML” is not supported for Windows or cross-platform projects. This can be used only for legacy projects.
The UiPath Documentation - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business examples...
So first check framework type of project you intend to run.
Cheers
not able to start.only opening bat file and closing
ok then what is the possible solution? how to start with bat
J0ska
March 6, 2026, 2:53pm
6
You should try one of the supported variants
In your case most likely the bold one
execute usage: UiRobot execute [–package-id <package_id> | --process-name <process_name> | --file <file_path>] [–input <input_params>] [–folder <folder_path>] [–entry <entry_point_path>]
Examples:
UiRobot execute --package-id UiPathDemo
UiRobot execute --package-id UiPathDemo --folder “Product/Development/QA”
UiRobot execute --process-name UiPathDemoProcess
UiRobot execute --file “C:\UiPath\Project\TestAutomation.1.0.3.nupkg” --entry “OtherEntryPoint.xaml”
UiRobot execute --input ‘{"intArg" : 3, "strArg" : "hello"}’ (PowerShell usage)
UiRobot execute --input “{"intArg" : 3, "strArg" : "hello"}” (Command Prompt & Bash usage)
postwick
(Paul Ostwick)
March 6, 2026, 2:56pm
7
Just use the Start Job activity.
ok
robot path - “C:\Program Files\UiPath\Studio\UiRobot.exe”
my script folder - “E:\apps2_s2_rpa\FactoryINDUSAPPS2\iPLAN\User Addition-License Activation\Main.xaml”
nuupkg file path - “E:\apps2_s2_rpa\FactoryINDUSAPPS2\iPLAN\User Addition-License Activation\User.Addition-License.Activation.1.0.1.nupkg”
and consider if i dont have any parameter then what will be the command for batch file.
hi @J0ska
we can run using below path -
“C:\Program Files\UiPath\Studio\UiRobot.exe” -file “E:\apps2_s2_rpa\FactoryINDUSAPPS2\iPLAN\User Removal on Confluence Space\User.Removal.on.Confluence.Space.1.0.1.nupkg”
it is running. only need to give .nupkg file path