How can I make Google Chrome command line switches work all the time?

MI June 12, 2010

I use a few command-line switches with Google Chrome. These are “–bookmark-menu –purge-memory-button –enable-internal-flash”.

When I am using another application, e.g. a twitter app, and I click on a link with Chrome closed, it opens up without the command-line switches present.

Is there a way I can make it always open up with the switches?

  1. Drakeshe
    March 24, 2011 at 4:56 am

    I have created what I feel is a great addition for those Chrome Power Users.
    More info and download here:

    By using this program you don't need to modify shortcuts in able to use the command line parameters. This lets you just set once using an interface and forget. The command line parameters also work when when launching a .html file.

    Best Regards.

  2. pceasies
    June 23, 2010 at 2:47 am

    I've done a bit of research and determined the default browser information is stored in:

    That's how the computer decides how to open hypertext links - as in:


    Is ftp:// links


    Is html, htm, xhtml or any other file associated with Chrome.

    You can change the value of (Default) and add the switches you would like to launch Chrome with. Try it out and see if it worked. You can always use Process Explorer to see the command line parameters being used to launch Chrome

  3. Tina
    June 16, 2010 at 5:42 pm


    I assume you have manually appended these switches to your standard Google Chrome shortcut and always open Chrome using this one shortcut. The reason Chrome doesn't open with your switches when other applications access it, is that they use the "file type association" program shortcut, i.e. a different shortcut

    You could try adding the switches to these shortcuts. In Windows you will find them in the general file type associations. Which operating system do you use?

    Check out this article for a general description:

    • MI
      June 20, 2010 at 3:05 pm

      I am using Windows 7 (32bit). I have edited all the shortcuts I use, but external links seem to open chrome.exe directly, bypassing any command-line switches.

      • pceasies
        June 23, 2010 at 2:26 am

        Do you mean clicking .html files or clicking links that open in a new window (while the browser is already open)?