Bat file for windows task scheduler is not working

@Swagat1
start “” /min “C:\Users\User\AppData\Local\UiPath\app-19.9.2\UiRobot.exe” -file “C:\Users\User\Desktop\OpenPortal\Main.xaml”

This is the path in my bat file, once try it in this way(-file “path”)

@Karun Thanks its works for me.

But this is a normal way of running a xaml from a bat file and it didnt have the window task scheduler involved as asked in the query

so were we trying to run the xaml just from command prompt with a bat file
or are we trying to run that xaml in a scheduled way…

it its just a normal way to trigger with a bat file then the syntax suggested by @Karun is fine
but if we need to schedule we need to use schedule option in the orchestrator

Cheers @Swagat1

1 Like

You can see this