You are here

Specifying RELATIVE path to local directory in "Server Settings" possible?

4 posts / 0 new
Last post
Last seen: 3 months 4 days ago
Joined: 2017-10-22 11:16
Specifying RELATIVE path to local directory in "Server Settings" possible?

Since I want to use Thunderbird Portable from an USB flash drive the drive letter and path could change from time to time resp. computer to computer.

When I go now to Account Settings----Account---->>Server Settings
then the local directory is specified as ABSOLUTE path:


I would like to change it to a RELATIVE path starting from Thunderbird.exe by "go up two directory levels then descend into Data\profile\Mail\".

According to common Unix/linux (and oftentimes Windows) standards this can be specified relatively by double dots like:


Unfortunately this is NOT accepted by Thunderbird.

Is there a workaround?

Ken Herbert
Ken Herbert's picture
Last seen: 8 hours 38 min ago
Joined: 2010-05-25 18:19
Already handled for you

Our Launcher already does this for you, remembering the last path from which it was run, determining the new path from which it is being run, and updating the necessary values where needed.

Unless you have seen a specific issue or circumstance where this isn't the case, you should never have to specify relative paths for that info as long as you are using our officially released Thunderbird Portable.

the developer formerly known as winterblood

Last seen: 6 days 4 hours ago
Joined: 2011-02-14 06:21
Not sure that's correct

As far as I can see, the program requests absolute locations for the message store "local directory" field in Server Settings. For example, I keep my message store in "D:\PortableApps\Thunderbird\Data\profile\Mail\," where "D:" is my thumb drive. But if I move the thumb drive to another PC where the first available drive letter is E:, the Thunderbird executable will still launch (as you noted) but it will continue to look for my emails on that computer's drive D:

For Thunderbird to be truly portable, there needs to be a way to set the location of the data folders relative to the program location. Is there any way to specify something like "%Data%\profile\Mail\," so Thunderbird portable can find its data folders on any PC?

John T. Haller
John T. Haller's picture
Last seen: 2 hours 30 min ago
Joined: 2005-11-28 22:21

Any full paths stored within prefs.js are automatically adjusted by the launcher as you move PCs. If you manually specify a full path to something within Thunderbird that is then stored in the prefs.js file, the ThunderbirdPortable.exe launcher will automatically adjust it by replacing the last path it was run from with the current path in that file.

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

Log in or register to post comments