为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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