Using Thunderbird 38.5.1 on Windows, I sometimes double-click on an attachment in a received message to open it.

The file is saved to my temp directory (%TEMP%), but I don't want it to be saved to that location (even temporarily). How do I change the directory Thunderbird uses for this?

If there isn't a built-in setting for it, is it possible to somehow override the TEMP environment variable for Thunderbird only?


I ended up creating a batch file to override the environment variable, as suggested by https://stackoverflow.com/a/3036367/1536933

REM Thunderbird seems to use TMP, but override both to be sure
SET TMP=M:\y\Temp\Dir
START "" "C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe"

Change the shortcut to call this batch file, set it to run Minimized (to avoid the command prompt window popping up) and it works quite smoothly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.