Problem running the script whit bat file

Hello! I am trying to run the script from a bat file

(“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” “file:///C:/Users/Dr.%20Oetker%20.jr/Downloads/BIM-Losjen-E2020.html?direct=1”)

but i end up getting the message “ERR_FILE_NOT_FOUND” when Chrome opends.
If i put the string in the CMD it runs perfectly.

Any tips on how to solw that problem?

Thank you!

You missed the macro name add this

Read here there are some examples

https://ui.vision/rpa/docs#cmd

Thanks for reply.

BIM-Losjen-E2020 is the macro name. i have also dont it the other way you refere to.
The thing is, if i paset that string directly in Command Prompt it runs like it should, but in a bat file i get the error

No you used an wrong command line

your macro must be added with this

&macro=MyMacroName

This is a example of correct cmd command

“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” “file:///D:/test/ui.vision.html?direct=1&macro=MyLogin&savelog=log1.txt”

In your code there is not this part, create cmd line reading the info

https://ui.vision/rpa/docs#cmd