Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have two profiles. A and B I have made shortcuts to start each profile as follows:

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

Also, I have set the profile B as default using ProfileManager

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

The current association for the .html file is:

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

and command line arguments as follows:

-requestPending -osint -url "%1"

This opens the specified url (from inside outlook for example) as the default firefox profile (B in my case). I want to open each .html extension using the A 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?

share|improve this question
1  
%appdata%/mozilla/firefox/profiles.ini lists profiles, Default=1 is a line that marks a section like [Profile0] as a default profile. If in [General], StartWithLastProfile=1 is set, I think it starts the default profile. Now in theory you could write a wrapper batch file that in the first line executes a script, to be written, that sets the default profile in this ini and on the second line passes all arguments to firefox.exe. I would use python's ConfigParser.SafeConfigParser to write the lacked script. –  naxa Jul 7 '13 at 12:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.