X
Tap here to go to the mobile version of the site.

منتدى الدعم

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

Posted

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.

Additional System Details

Installed Plug-ins

  • Default Plug-in
  • ActiveTouch General Plugin Container Version 105
  • Shockwave Flash 11.1 r102
  • Adobe Shockwave for Director Netscape plug-in, version 11.6
  • Next Generation Java Plug-in 1.6.0_24 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • 4.0.60531.0
  • Office Authorization plug-in for NPAPI browsers
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Adobe PDF Plug-In For Firefox and Netscape 10.0.0

Application

  • User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; es-ES; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.14

More Information

the-edmeister
  • Top 25 Contributor
  • Moderator
5406 solutions 40244 answers
See this - https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#-setDefaultBrowser

Question owner

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

Sorry, I need to do this for Mozilla Firefox 17.
Tyler Downer
  • Top 25 Contributor
  • Moderator
1535 solutions 10713 answers

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

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

Question owner

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.

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.

Question owner

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.

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.
ideato 893 solutions 6250 answers

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

  • firefox -setdefaultbrowser

thank you

Hello, are you sure that you give the correct command ? : * firefox -setdefaultbrowser thank you

Question owner

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.

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.
the-edmeister
  • Top 25 Contributor
  • Moderator
5406 solutions 40244 answers

-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.

'''-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.

Question owner

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

I have verified that with two capital letters or not, the command fails. I need to install version 17.0.1.
Tyler Downer
  • Top 25 Contributor
  • Moderator
1535 solutions 10713 answers

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.

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.