This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

Firefox and Command Line options -profile and -P

  • 6 amsoshi
  • 3 sa na da wannan matsala
  • 1 view
  • Amsa ta ƙarshe daga swdev1

more options

I recently installed FireFox 5.0 beta.

I have 2 shortcuts as follows

 1) firefox.exe -p safelists
 2) firefox.exe -p jr -private

1) This always works and opens up all the pages I have specified for the 'Home Page'

2) Since upgrading to FireFox 5 beta, this shortcut does not work. FireFox starts (seen via process monitor) and then quits, never showing its main screen. If I use each option separately, then FireFox starts.

Is there a known problem using these 2 flags? Is there some log file that I can look at to see what is wrong?

Any help is greatly appreciated.

Reards

J

I recently installed FireFox 5.0 beta. I have 2 shortcuts as follows 1) firefox.exe -p safelists 2) firefox.exe -p jr -private 1) This always works and opens up all the pages I have specified for the 'Home Page' 2) Since upgrading to FireFox 5 beta, this shortcut does not work. FireFox starts (seen via process monitor) and then quits, never showing its main screen. If I use each option separately, then FireFox starts. Is there a known problem using these 2 flags? Is there some log file that I can look at to see what is wrong? Any help is greatly appreciated. Reards J

All Replies (6)

more options

Are safelists and jr names of existing profiles?

Did you try to use the full path to the Firefox program?

"C:\Program Files\Mozilla Firefox\firefox.exe" -private -P <profile>

If you want to open multiple profiles at the same time then you need to use the -no-remote switch to open additional profiles.


more options

Many thanks for your reply.

Yes, safelists and jr are the names of 2 profiles. They were created using FireFox 4.0.

The command lines that I showed worked when using FireFox 4.0.

I only use 1 profile at a time.

Also, the shortcuts (and when I try from the command line) use the full path to FireFox - in my case. e:\ff\firefox.exe ...

more options

Did you try to swap the order of the switches to what I posted above and first specify -private and use an uppercase -P?

more options

many thanks for your help

Yes, I tried

e:\ff\firefox.exe -private -p jr - Firefox does not start e:\ff\firefox.exe -p jr -private - FireFox does not start e:\ff\firefox.exe -P jr -private - FireFox doe not sart e:\ff\firefox,exe -private -P jr - FireFox does not start

e:\ff\firefox.exe -private - FireFox starts e:\ff\firefox.exe -p jr - FireFox starts e:\ff\firefox.exe -P jr - FireFox starts

So it seems like a combination of -private and -P cause FireFox not to start. Either switch on its own is fine.

more options

Do you get the profile manager if you use path\firefox.exe -private -P ?

more options

Yes, I do get the profile manager using e:\ff\firefox.exe -private -P

I also get the profile manager if I use e:\ff\firefox.exe -profilemanager -no-remote, which did not happen before, so that is some progress