You are here

Environment variables in FirefoxPortable.ini

3 posts / 0 new
Last post
Hektor_Paris
Offline
Last seen: 1 month 1 week ago
Joined: 2024-11-10 12:32
Environment variables in FirefoxPortable.ini

Hello,
I wonder if it is possible to use environment variables in path name in the FirefoxPortable.ini file, for instance %username%, %appdata%.
There are several profiles on the family PC and I would like to save each profile datas in the specific %appdata% directory.

I tried to set the "ProfileDirectory=" in the FirefoxPortable.ini file that way :
ProfileDirectory=..\..\..\Users\%USERNAME%\AppData\Roaming\FFdirectoryName\Data\profile
... but it didn't work.

I tried the following and it works :
ProfileDirectory=..\..\..\Users\ProfileName1\AppData\Roaming\FFdirectoryName\Data\profile
And so for the settings and plugins directories.

I know FirefoxPortable2ndProfile and use it already, but I can't with it save the different profile datas in each %appdata% directory.

I can write a batch to launch FirefoxPortable aiming at the right %appdata% by changing each time the FirefoxPortable.ini file, but it would be simplier to use the environment variables in it.

Is it possible ?

Regards.

Hektor_Paris
Offline
Last seen: 1 month 1 week ago
Joined: 2024-11-10 12:32
FireFoxPortable\AppInfo\Launcher

I tried to introduce a FireFoxPortable.ini in a FireFoxPortable\AppInfo\Launcher directory with sections [FileWrite1] to change "ProfileDirectory=" iin the FireFoxPortable\FireFoxPortable.ini file.

That seems not to work. FireFoxPortable doesn't support the launcher.ini ?

John T. Haller
John T. Haller's picture
Offline
Last seen: 19 hours 33 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not Supported

Firefox and Thunderbird use a custom coded launcher, not the typical PA.c Launcher. They don't support using a launcher.ini like you're trying to do. For what you're trying to do on a single PC shared among users, why aren't you installing Firefox? I'd recommend that route.

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

Log in or register to post comments