Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Firefox and Command Line options -profile and -P

  • 6 ответов
  • 3 имеют эту проблему
  • 1 просмотр
  • Последний ответ от 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

Все ответы (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