I can run "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" superuser.com to start Chrome and launch this particular website.

But instead of launching a website, I want to search for a keyword using the default search engine configured.

Note: I don't want to manually specify the search engine URL in Run command like "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" www.google.com/search?q=hello+world.

Is there any command line argument or some trick to do this?


It seems that the thing you specify as the URL, doesn't really need to be a URL.

Then, you can easily do this:

chrome "? hello world"

The ? will prevent the browser from thinking it's a path, without interferring in the search keywords (as explained here).

  • @VarunAgw Glad to know that! Please, don't forget to mark the answer as accepted :) – Hewbot Apr 27 '16 at 19:30

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.