Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

how does firefox change windows 7's regedit to set default browser?

  • 11 odpowiedzi
  • 2 osoby mają ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od feijilei

more options

the regedit of my windows 7 shows that “"C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "%1"” as my default browser,can I change something in my firefox to set regedit like this .""C:\Program Files\Mozilla Firefox\firefox.exe" -profile 'c:\firefox\user\' -osint -url "%1""

the regedit of my windows 7 shows that “"C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "%1"” as my default browser,can I change something in my firefox to set regedit like this .""C:\Program Files\Mozilla Firefox\firefox.exe" -profile 'c:\firefox\user\' -osint -url "%1""

Wszystkie odpowiedzi (11)

more options

Firefox > Preferences > Advanced > General: System Defaults:

"Always check to see if Firefox is the default browser on startup"
"Make Firefox the default browser"

See:

more options

I have done something you told me,but my firefox start like this "C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "%1"

I want to start like ""C:\Program Files\Mozilla Firefox\firefox.exe" -profile 'c:\firefox\user\' -osint -url "%1""

more options

You posted with a Mac user agent.

Do you want to make the change on a Windows computer or the the Mac that you posted this with?

more options

On a windows ,I always start firefox with other profile ,so I use "c:\firefox\firefox.exe --no-remote -profile "c:\firefox\user\"" to start my firefox,but,when I set my firefox as my default browser ,when I click a web link,firefox started without my profile dir like "c:\firefox\user\"

more options

You will have to use the Profile Manager to select the default profile an tick the box or edit the profiles.ini file and move the Default=1 line under the correct profile heading.

more options

Is there any other method ? , I use '-profile "c:\firefox\user\"' to start firefox,there is no profiles.ini in my directory.

more options

Is there any other method ?

more options

Hello the profiles.ini file is located inside the "Firefox" folder in the profile folder path .

http://kb.mozillazine.org/Profiles.ini_file

try : %APPDATA%\Mozilla\Firefox\


thank you

Zmodyfikowany przez ideato w dniu

more options

The OP (thread owner) doesn't want to use a profiles.ini file, but prefers to start Firefox by specifying the absolute location of the profile via the target in the desktop shortcut (-profile "<path>").
In this case Firefox doesn't know which profile to use when you open a file with the default browser and Firefox isn't running yet.
A possibility would be to edit all involved registry keys (e.g. HKEY_CLASSES_ROOT\.html) and add this switch, but that may not last and is difficult to maintain.

more options

cor-el, you are correct, I misunderstood the question, my mistake.

thanks

more options

I use "C:\firefox\firefox.exe" -osint --no-remote -profile "C:\firefox\profile" -url "www.mozilla.org" in my cmd.exe ,but firefox can't start.