App.open("Chrome.exe") launches windows explorer and not chrome

Asked by Chetan on 2021-02-16

App.open("Chrome.exe") launches windows explorer and not chrome
also tried App.open("Google Chrome") but not able to launch
however if i give full path then it correctly launches.
is there i way i can launch chrome without giving full path as on other machine chrome can be on 32 bit or 64 bit program files

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

on Windows you have to live with that.

Only things on the current %PATH% are executed with those shortcuts.

Revision history for this message
Chetan (cshamdas) said :
#2

Thanks RaiMan, that solved my question.