Same Firefox user folder in XP/Linux
I use the same user folder for Firefox/thunderbird in XP and Linux, but due to different path names there are some problems. In the Firefox user folder there are at least 3 files that need the correct paths of different items. Files are "pref.js, user.js and extension.ini". An example:
Is there any way to rewrite pref.js with correct paths for both XP and Linux ?
user_pref("browser.download.dir", "/mnt/DadStorage/Downloads10"); [for linux]
user_pref("browser.download.dir", "D:\Downloads10"); [for XP]
If not could a script be written (I do not know how) that could be ran to copy 'pref.js.linux' to 'pref.js', start firefox and when closed, copy 'pref.js.XP' to 'pref.js' ? (Hope you understand question)