I need to fix the the name of the Users Thunderbird profile folder located in C:\Users\%USERNAME%\AppData\Roaming\Thunderbird.
To do this, I've made a batch script wich changes the xxxxx.default created at the Thunderbird first launch in :
The profiles.ini file
The path of the roaming folder (see below)
All occurrences in prefs.js file
The name of the "Local profile" folder
But even with this, Thunderbird creates another xxxxx.default folder when I start it after running my script. My question is : why ? What missed I ? Is there another location where I must change the xxxxx.default ? Thanks
Auto answer : I had to change the name of the folder located in C:\Users\%USERNAME%\AppData\Roaming\Thunderbird by a name of my choice (mv command).
Then, I created a new profile.ini file with this folder path (echo to a file command). All the rest (prefs.js for example) is made automatically by Thunderbird on the first startup.
1 step : Identify the name of the random directory using DIR command and store it into a variable :
2 step : Change the random folder name :
3 step : Write a new profiles.ini file :
All of these is to put in a batch file wich is launched at the startup session.