windows - Change start -> run -> chrome to include switches -


i've looked around internet way use windows's windows+r shortcut run chrome (or app) with default command-line switches.

my wife , share windows user, in chrome, have separate users don't have share settings, bookmarks, etc.

chrome has switch --profile-directory="[somedir]" allow set user when it's run. i'm 1 uses windows+r shortcut, i'd set default setting, when type "chrome", run chrome instance user, regardless of last chrome window opened (which how decides user run).

it looks right place make change in registry: hkey_local_machine\software\microsoft\windows\currentversion\app paths\chrome.exe

if edit (default) key include --profile-directory="default", windows can't find path, presumably because puts quotes around whole thing when press enter on run dialog box.

using akin sql injection , adding strategically placed quotes doesn't work either--my guess escapes them.

msdn hints might able add command-line parameters subkeys ...\app paths\chrome.exe key, tried adding --profile-directory = "default", --profile-directory= = "default", , --profile-directory="default" = (empty string), none of worked.

anyone know how this, or perhaps better @ google am?

as last resort, can replace (default) reg key point batch file runs chrome.exe switch, rather not.

it seems need use internal chrome profile name.

i'm running chromeportable, first thing had change user-data-dir

chrome://version helps confirm profile in use....

at first thought full path required. actually, it's internal name that's referenced...

here's example of revised chrome shortcut

l:\os\myapps\googlechromeportable\app\chrome-bin\chrome.exe --user-data-dir=l:\os\myapps\googlechromeportable\data\profile --profile-directory="profile 1"

(as always, re command args, spaces should surrounded quotes)


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -