@D0llyy you should quote it if there's a space in the path. Like this: "C:\Program Files\Google\Chrome\Application\chrome.exe" Otherwise Windows will try to run c:\Program with parameter Files\Google\Chrome\Application\chrome.exe because of that space.