搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

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

  • 2 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 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?

所有回覆 (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.