Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

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 replies
  • 1 has this problem
  • 3 views
  • Last reply by 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.