After creating a xaml file in Studiox, converting it to a BAT file

I am testing the program using the free version studiox.
The most important thing is to create a Xaml file and run it automatically.
In Studiox everything runs fine.

Create a Xaml file that is currently running in Studiox and create a batch (.bat) file using the 4 methods below.
is running. But never had success.

The path of Studiox and the path of the Xaml file I created are all correct, but it does not run.
Please advise.

All four of the following are failures.

  1. “C:\Users\Administrator\AppData\Local\Programs\UiPath\Studio\UiPath.Executor.exe” -file “C:\UIPath\Backup\Main.xaml”

  2. “C:\Users\Administrator\AppData\Local\Programs\UiPath\Studio\UiPath.Executor.exe” -file “C:\UIPath\Backup\Main.xaml”

  3. C:\Users\Administrator\AppData\Local\Programs\UiPath\Studio\UiPath.Studio.exe -file C:\UIPath\Backup\Main.xaml

  4. C:\Users\Administrator\AppData\Local\Programs\UiPath\Studio\UiPath.Studio.exe -file C:\UIPath\Backup\Main.xaml

1 Like

Hey @cghoon

Is the file not getting triggered or any error ?

Please confirm

#nK

So might one ask why you would like to use a bat file to run a task when you could just publish it and then set a schedule for it from the assistant ?