In this post, we will run the UiPath workflow using the Batch Script. This is useful when you are trying to schedule the flow using the Task Scheduler.
- UiPath Studio
Go to my post to download UiPath Studio.
Create Batch Script
First, Create an new UI Path process. I have just added a single activity of Message Box.
Then, create a new text file, give the UIRobot.exe and Main.xaml paths as shown below. Save the file with the .bat extension.
"C:\Users\username\AppData\Local\UiPath\app-21.4.1\UiRobot.exe" -file "C:\Users\username\Documents\UiPath\newMessage\Main.xaml"
Double-click the batch file to run it.
You can also directly run UI Path process from command prompt by following command:
"path\to\UiRobot.exe" -file "\path\to\process Main.xaml file"
Thank you All!!! Hope you find this useful.
If you liked our content and it was helpful, you can buy us a coffee or a pizza. Thank you so much.