We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Søg i 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.

Læs mere

Firefox and Command Line options -profile and -P

  • 6 svar
  • 3 har dette problem
  • 1 visning
  • Seneste svar af 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

Alle svar (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