X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

Firefox and Command Line options -profile and -P

Posted

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

Additional System Details

This happened

Every time Firefox opened

This started when...

I upgraded from FireFox 4.01 to FireFox 5.0 beta

Installed Plug-ins

  • Shockwave Flash 10.3 r181
  • Next Generation Java Plug-in 1.6.0_24 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Google Update
  • Version 1.1.9, copyright 1996-2011 The VideoLAN Teamhttp://www.videolan.org/

Application

  • User Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0

More Information

Application Basics
Name
Firefox
Version
5.0
User Agent
Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0
Profile Directory
Open Containing Folder
Enabled Plugins
about:plugins
Build Configuration
about:buildconfig
Extensions
Name
Version
Enabled
ID
Adblock Plus
1.3.8
true
{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
British English Dictionary
1.19.1
true
en-GB@dictionaries.addons.mozilla.org
CodeBurner for Firebug
1.6
true
firebug@tools.sitepoint.com
Feedback
1.1.1
true
testpilot@labs.mozilla.com
Hostname in Titlebar
1.0.12
true
bughunter2@hostnameintitlebar
Java Console
6.0.24
true
{CAFEEFAC-0016-0000-0024-ABCDEFFEDCBA}
Java Quick Starter
1.0
true
jqs@sun.com
JR Single Keys (0,1,2)
99.99
true
{a66191d8-898b-4a66-89be-d5b279477a54}
NoScript
2.1.1
true
{73a6fe31-595d-460b-a920-fcc0f8843232}
Web Developer
1.1.9
true
{c45c406e-ab73-11d8-be73-000a95be3b12}
Firebug
1.7X.0b3
false
firebug@software.joehewitt.com
HTTPS-Everywhere
0.9.4
false
https-everywhere@eff.org
Page Speed
1.10.2
false
{e3f6c2cc-d8db-498c-af6c-499fb211db97}
Skype extension
5.3.0.7550
false
{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}
Modified Preferences
Name
Value
accessibility.typeaheadfind.flashBar
0
browser.places.smartBookmarksVersion
2
browser.startup.homepage
about:blank
browser.startup.homepage_override.buildID
20110527093235
browser.startup.homepage_override.mstone
rv:5.0
dom.disable_window_move_resize
true
dom.event.contextmenu.enabled
false
extensions.lastAppVersion
5.0
network. dnsCacheEntries
64
network.cookie.prefsMigrated
true
network.dnsCacheEntries
64
network.http.max-connections
128
network.image.imageBehavior
0
places.database.lastMaintenance
1307605809
places.history.expiration.transient_current_max_pages
42911
privacy.cpd.siteSettings
true
privacy.donottrackheader.enabled
true
privacy.sanitize.migrateFx3Prefs
true
security.OCSP.disable_button.managecrl
false
security.warn_viewing_mixed
false
Graphics
Adapter Description
ATI MOBILITY RADEON Xpress 200 Series
Vendor ID
1002
Device ID
5955
Adapter RAM
Unknown
Adapter Drivers
ati2dvag
Driver Version
8.201.0.0
Driver Date
11-22-2005
Direct2D Enabled
Blocked on your graphics driver. Try updating your graphics driver to version 10.6 or newer.
DirectWrite Enabled
false (0.0.0.0, font cache n/a)
WebGL Renderer
(WebGL unavailable)
GPU Accelerated Windows
0/1

cor-el
  • Top 10 Contributor
  • Moderator
10756 solutions 96804 answers

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.


Question owner

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 ...

cor-el
  • Top 10 Contributor
  • Moderator
10756 solutions 96804 answers

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

Question owner

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.

cor-el
  • Top 10 Contributor
  • Moderator
10756 solutions 96804 answers

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

Question owner

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