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?

3 Answers 3


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, 2016 at 19:30
start chrome "? <what you want to search>"

This works if start chrome works.


For some reason, firefox does not take in "" as a search parameter it just opens ffox to the homepage. Probably missing something here though. A nice feature to run a quick query from the Address: toolbar

  • not related to the original question.
    – Daniel
    Aug 24, 2019 at 22:42

You must log in to answer this question.