搜尋 Mozilla 技術支援網站

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

Learn More

How to select Firefox version in Windows Run?

  • 4 回覆
  • 1 有這個問題
  • 104 次檢視
  • 最近回覆由 FredMcD

more options

I installed two versions of Firefox: Mozilla Firefox and Mozilla Firefox Developer Edition. Typically, in Window 10, you can open a browser by pressing Win+R and typing "firefox", but with two versions installed, this always opens the version I don't want.

Since the latter version is always opened, I think it's related to the installation order, but I don't want to reinstall my browser. So is there any configuration available?

I installed two versions of Firefox: Mozilla Firefox and Mozilla Firefox Developer Edition. Typically, in Window 10, you can open a browser by pressing Win+R and typing "firefox", but with two versions installed, this always opens the version I don't want. Since the latter version is always opened, I think it's related to the installation order, but I don't want to reinstall my browser. So is there any configuration available?

被選擇的解決方法

jonzn4SUSE said

FredMcD said

Thank you two, your solution inspired me. I checked the environment variables and Firefox wasn't there, so I went to the Registry and found something.

Turns out, windows has a registry to store the location of applications, which is located at HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths These registries allow you to access applications in "run" without setting environment variables.


So here's my solutions:

  1. Edit the registry located at HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe
  2. Create shortcuts for the two browsers and name them firefox and firefoxDev
  3. Put two shortcuts into C:/shortcuts/
  4. Add C:/shortcuts/ to PATH
從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

You have to know the path to the Dev version in order to run from it from the run box.

more options

Open your computers file browser to the Programs Folder(s). Windows: C:\Program Files and C:\Program Files (x86)

Look for any Mozilla Firefox folders. Look inside and right-click on firefox.exe Select Create Shortcut. Place the shortcut on the desktop and rename it using a unique name so that other shortcuts can also be placed. (Version number, how its used . . . .) Example (on my system): Firefox_54 Firefox_Current

Repeat the above for each Firefox.

Note: Different versions of the browser can not share the same profile so each should use its own profile.

more options

選擇的解決方法

jonzn4SUSE said

FredMcD said

Thank you two, your solution inspired me. I checked the environment variables and Firefox wasn't there, so I went to the Registry and found something.

Turns out, windows has a registry to store the location of applications, which is located at HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths These registries allow you to access applications in "run" without setting environment variables.


So here's my solutions:

  1. Edit the registry located at HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe
  2. Create shortcuts for the two browsers and name them firefox and firefoxDev
  3. Put two shortcuts into C:/shortcuts/
  4. Add C:/shortcuts/ to PATH
more options

That was very good work. Well Done.