You are here

Command Line Options

5 posts / 0 new
Last post
Fred McDonald
Offline
Last seen: 1 year 2 months ago
Joined: 2018-06-24 10:30
Command Line Options

Good day. I want to know the command line options for Firefox Portable.

What I want to do is this; Firefox.exe -no-remote -new-instance -P Firefox_Current

**From Firefox help pages;
https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options

Usage: C:\PROGRA~1\MOZILL~1\firefox.exe [ options ... ] [URL]
where options include:
-P Start with ==profile==.
-no-remote Do not accept or send remote commands; implies -new-instance.
-new-instance Open new instance, not a new window in running instance.

John T. Haller
John T. Haller's picture
Online
Last seen: 16 min 7 sec ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Use Local

If you wish to use -P, use a local copy. -P is for local profiles only in the default profiles location within APPDATA.

Sometimes, the impossible can become possible, if you're awesome!

Fred McDonald
Offline
Last seen: 1 year 2 months ago
Joined: 2018-06-24 10:30
Yes, but the problem seems to

Yes, but the problem seems to be the portable apps are
not recognizing the command switches when I use a Win
batch file program to start Firefox.

John T. Haller
John T. Haller's picture
Online
Last seen: 16 min 7 sec ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Uses -profile

FirefoxPortable.exe uses -profile to select a profile internally which overrides use of -P. -P is for local profiles only and not something dealt with in Firefox Portable. If you wish to use -P use a local install of Firefox or use the standard firefox.exe within Firefox Portable which will work the same as local. Note that we don't support this, of course.

Sometimes, the impossible can become possible, if you're awesome!

Fred McDonald
Offline
Last seen: 1 year 2 months ago
Joined: 2018-06-24 10:30
Thank you for your reply.

Thank you for your reply. What I wanted was to make sure it uses the correct profile.
Now then, what about these switches?
-no-remote -new-instance

Log in or register to post comments