Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Load specific profile from command line

more options

I have two profiles. A and B. B has been set as default using ProfileManager. I have made shortcuts to start each profile as follows:

"C:\Program Files\Mozilla Firefox\firefox.exe" -p A -no-remote

and the other one as:

"C:\Program Files\Mozilla Firefox\firefox.exe" -p B

What I want to do is start another but the default profile, when I open a specific filetype (windows 7).

The current association for the .html file is:

C:\Program Files\Mozilla Firefox\firefox.exe

with command line arguments as follows:

-requestPending -osint -url "%1"

This opens the specified url as the default firefox profile (B in my case). I want to open each .html extension using the A profile, and any other extension that loads firefox as the B profile.

Mozilla, states that -p and -requestPending -osint cannot be used at the same time.

How do I open another profile for a specific filetype?

I have two profiles. '''A''' and '''B'''. '''B''' has been set as default using ProfileManager. I have made shortcuts to start each profile as follows: "C:\Program Files\Mozilla Firefox\firefox.exe" -p A -no-remote and the other one as: "C:\Program Files\Mozilla Firefox\firefox.exe" -p B What I want to do is start another but the default profile, when I open a specific filetype (windows 7). The current association for the .html file is: C:\Program Files\Mozilla Firefox\firefox.exe with command line arguments as follows: -requestPending -osint -url "%1" This opens the specified url as the default firefox profile (B in my case). I want to open each .html extension using the A profile, and any other extension that loads firefox as the B profile. Mozilla, states that '''-p''' and '''-requestPending -osint''' cannot be used at the same time. How do I open another profile for a specific filetype?

Modifié le par odyodyodys

Toutes les réponses (3)

more options

You want to open a 2nd Profile while the first Profile is already running?

more options

Not exactly. I've managed to do this using the: -no-remote to the second profile, that is not the default. The problem is that I cannot create a command line that Windows will use to open a specific filetype using a profile other than the default.

more options

Sorry, I'm not sure how that would be done, or if it is even possible.

See if this developer article helps you.
https://developer.mozilla.org/en/Command_Line_Options