You are here

[Closed] ThunderbirdPortable launcher called with long command line arguments

2 posts / 0 new
Last post
megaman
Offline
Last seen: 5 years 7 months ago
Joined: 2008-01-19 07:46
[Closed] ThunderbirdPortable launcher called with long command line arguments

Windows 10 64bit
ThunderbirdPortable 52.5.0 32bit

If mailto links are assigned to be opened with ThunderbirdPortable, it seems to truncate the command line arguments it sends to thunderbird.exe.
I've tested the same long mailto link, almost 1000 chars long (the raw url encoded version) with predefined body etc, with the same profile in both portable thunderbird and a normal thunderbird installation. In the normal installation (same version 52.5.0 32bit) it works just fine. I've tested the mailto link in Firefox 57, Edge and IE11, all with the same result.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 5 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
1024 character limit

The maximum length of a string in NSIS, the programming language used to make the ThunderbirdPortable.exe launcher, is 1024 characters. The full command line length used to start Thunderbird must fit within that length. So, the actual variable to launch the app will be `"X:\PortableApps\ThunderbirdPortable\App\Thunderbird.exe" -profile "X:\PortableApps\ThunderbirdPortable\Data\profile" YOURCOMMANDLINEARGUMENTSHERE` There is a secondary build of NSIS that supports 8K strings but I'm unsure how well it is supported or whether the NSIS plugin DLLs we use would be compatible with it.

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

Log in or register to post comments