Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

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

了解更多

How I can set my default browser mozilla firefox from the command line in Windows 7?

  • 10 回覆
  • 12 有這個問題
  • 1 次檢視
  • 最近回覆由 user633449

more options

I need to set my default browser mozilla firefox from the command line, ie without using the GUI.

I need to set my default browser mozilla firefox from the command line, ie without using the GUI.

所有回覆 (10)

more options
more options

Sorry, I need to do this for Mozilla Firefox 17.

more options

You are using Firefox 3.6, which is no longer supported. Please update to Firefox 24 and Flash 11.8 IMMEDIATELY or switch browsers.

more options

I'm trying to install firefox 17.0.1 on computers that never had firefox, and I need to set default browser from command promt.

I try the command -setdefaultbrowser but don't work.

more options

I'm trying to install firefox 17.0.1 on computers that never had firefox, and I need to set default browser from command promt.

I try the command -setdefaultbrowser but don't work.

more options

Hello, are you sure that you give the correct command ? :

  • firefox -setdefaultbrowser

thank you

more options

Yes, I have proved that in the 17.0.1 version of firefox, this command does not work properly. Seems to be a documented bug.

more options

-setDefaultBrowser is the correct command - you need the two capital letters.

Why Firefox 17.0.1? You would be missing a number of important security updates. Firefox 17.0.9 is the current ESR release version.

more options

I have verified that with two capital letters or not, the command fails. I need to install version 17.0.1.

more options

Firefox 24 is actually the current ESR, 17 will be end of life soon. Please install a current version of Firefox, not something going away in a few weeks.