This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to ensure that giving the firefox.exe command in run dialog box in Windows opens up a specific firefox Profile?

  • 2 iimpendulo
  • 1 inayo le ngxaki
  • 3 views
  • Impendulo yokugqibela ngu cor-el

more options

I have a firefox profile with certain proxy settings set. When I type firefox.exe in the run dialog Box in windows it opens up the default profile. I have a firefox shortcut specified with the command line args -P "profilename". I want this to be used as it will force the custom profile. Is there an environment variable that i can set for this?

I have a firefox profile with certain proxy settings set. When I type firefox.exe in the run dialog Box in windows it opens up the default profile. I have a firefox shortcut specified with the command line args -P "profilename". I want this to be used as it will force the custom profile. Is there an environment variable that i can set for this?

All Replies (2)

more options

firefox -P "profile_name" is the correct format.

https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#-P_.22profile_name.22

Easier is use a desktop shortcut to the Firefox executable appended with [space]-P "profile_name"

more options

You can set the default profile to use in the Profile Manager to be used when no profile is specified and otherwise use desktop shortcuts with a profile specified (-P "profile").
There is also a "Don't ask at startup" check box in the PM window.