How to run a batch file for uipath process

Hello community!
I have created a batch file for triggering a uipath process. I have created a notepad file, wrote in it as:
“C:\Users\HP5\AppData\Local\UiPath\app-19.9.2\UiRobot.exe” /file:“E:\Projects\project-folder-name\ExtractCompaniesDataInExcel\Main.xaml”.
I also added keywords at start: ‘start “” /min’. Finally I saved the file with .bat extension. When I run the file, only console screen appears for sometime. But visually I don’t see any process running. Can anyone please tell me what is the issue??

Make sure your current colder is where the “main.xaml” is stored, i.e. in your case “E:\Projects\project-folder-name\ExtractCompaniesDataInExcel”

Also a good idea is to put “pause” at end of the batch file so you could see any error messages.

Cheers

This didn’t work for me. Some other suggestions please!

@Hassan_Ali
Have look here

notice that arguments are using an - instead of /
Using Pause as @J0ska has recommended helps to see the error messages