You are here

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

4 posts / 0 new
Last post
pstein
Offline
Last seen: 1 year 11 months 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:

D:\tools\ThunBirdPort\Data\profile\Mail\pet345@hotmail.com

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\pet345@hotmail.com".

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

..\..\Data\profile\Mail\pet345@hotmail.com

Unfortunately this is NOT accepted by Thunderbird.

Is there a workaround?

Ken Herbert
Ken Herbert's picture
Online
Last seen: 24 min 52 sec ago
DeveloperModerator
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.

wallywalters
Offline
Last seen: 6 years 1 week 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\wallywalters@hotmail.com," 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\wallywalters@hotmail.com," so Thunderbird portable can find its data folders on any PC?

John T. Haller
John T. Haller's picture
Offline
Last seen: 5 hours 17 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Adjusted

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