Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Profile path in variable and account settings..

58 views
Skip to first unread message

Jake

unread,
Feb 15, 2010, 8:20:02 AM2/15/10
to
Hi,

TB3 / windows version

I see that TB3 stores the file folder name of its current profile in
AppData\Thunderbird\profiles.ini

I need to retrieve Thunderbird's current profile folder name in a
vbscript. Has anyone here an elegant vbs solution to that?

Secondly, I would be interested in backing up my TB3's mail / news
accounts data files (username, password, message filters and server
settings). Where are these stored? Is it a separate file for each mail
account or are data for all accounts stored in the same config file..?
Note that I don't want to backup the whole profile folder subtree, only
these account data (and the address book).

regards

Jake

Bernd

unread,
Feb 15, 2010, 8:53:22 AM2/15/10
to

-------- Original-Nachricht --------

Use the %APPDATA% variable:

set WshShell = WScript.CreateObject("WScript.Shell")
strAppdata = WshShell.ExpandEnvironmentStrings("%appdata%")

and concatenate it with "\Thunderbird\profiles.ini"

Bernd

Jake

unread,
Feb 15, 2010, 9:18:26 AM2/15/10
to
>
> Use the %APPDATA% variable:
>
> set WshShell = WScript.CreateObject("WScript.Shell")
> strAppdata = WshShell.ExpandEnvironmentStrings("%appdata%")
>
> and concatenate it with "\Thunderbird\profiles.ini"
>
> Bernd

Hi Bernd

Thanks for the tip, but the crucial tip is to get the *correct* TB
profile path out from the text lines in profiles.ini. AFAIK profiles.ini
can contain several pathnames....

regards jake

Bernd

unread,
Feb 15, 2010, 7:50:51 PM2/15/10
to

-------- Original-Nachricht --------

OK:

http://kb.mozillazine.org/Profiles.ini_file

Important in the case of > 1 profiles:
The last sentence in the article:
"Default=1 refers to the last selected profile."

BTW:

Files in the profile:

http://kb.mozillazine.org/Files_and_folders_in_the_profile_-_Thunderbird

Bernd

0 new messages