shell syntax headache

I would like to launch chrome from the shell but the syntax is giving me a headache.
This works:
sh.execute(“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe”)

This opens Chrome (not in kiosk mode), but I get two tabs with interesting urls:
sh.execute(“C:”“Program Files (x86)”"\Google\Chrome\Application\chrome.exe --kiosk 192.168.0.10/touch_new.php?location=shop?lotid=24009")
tab1: “files/”
tab2: “%28x86%29/Google/Chrome/Application/chrome.exe%20%20%20–kiosk%20192.168.0.10/touch_new.php?location=shop?lotid=24009”

this gives me a shell error “‘C:\Program’ is not recognized as an internal or external command,operable program or batch file.”
sh.execute(“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --kiosk 192.168.0.10/touch_new.php?location=shop?lotid=24009”)

Thanks for any help!
Bernn

Double quoting drives me nuts as well, so I don’t do it.

sh.execute(replaceall(“C:\Program Files\…”, chr(34), chr(34) + chr(34))

Using replace all means I can execute the command from the terminal then when it’s working I can copy & paste the command into Xojo.

Needs to be
sh.execute(“”“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe”" --kiosk 192.168.0.10/touch_new.php?location=shop?lotid=24009")

You 'da bomb! Works like a charm.