On Fri, 08 Mar 2002 19:04:03 -0500 Terry Norton <[EMAIL PROTECTED]> wrote:
>
> I created a new directory called H:\MozillaProfile. Mine happens to
> be on the same drive as Mozilla, but that shouldn't make any difference.
>
> I put this this in Config.sys:
>
> SET MOZILLA_HOME=H:\MozillaProfile
>
> Make sure Mozilla is closed.
>
> When I installed Mozilla the first time, my mail directory structure
> looked like this:
>
> H:\Mozilla98\bin\Mozilla\Profiles\ccsten\r18lihuh.slt\Mail
>
> and the news was:
>
> H:\Mozilla98\bin\Mozilla\Profiles\ccsten\r18lihuh.slt\News
>
> The important part, as far as a Mozilla profile is concerned, starts
> at \Mozilla\profiles\ccsten\r18lihuh.slt\... This is what Mozilla
> creates when you create a profile. This is the part that needs to me
> moved to your profile directory that you have now specified. So my
> directories look like this:
>
> H:\MozillaProfile\Mozilla\Profiles\ccsten\r18lihuh.slt\mail
>
> and
>
> H:\MozillaProfile\Mozilla\Profiles\ccsten\r18lihuh.slt\News
>
> And my main Mozilla executables are at:
>
> H:\Mozilla98\bin
>
> Now reboot.
Disclaimer: I do not use Mozilla for mail nor for news, so
I have no experience in what 'extra' steps moving
mail or news might involve.
Please note that in the old location's 'Mozilla' subdirectory
(e.g., 'H:\Mozilla98\bin\Mozilla') there is file 'registry.dat'.
You can *see* the content of that file by making 'bin' the
current dirctory, then issuing 'regexport mozilla\registry.dat'.
You will need to CHANGE the content of 'registry.dat' so that
each reference to your old profile(s) location now points to
your new profile(s) location.
I used a binary editor on 'registry.dat' to make this change.
It was easy for me, since the new string had *exactly* the
same number of characters as the old string. If your new
location's name is shorter, be sure there is a byte of hex '00'
following that name. [You can't "patch in" a new location's
name that is longer than the old location's name.]
In my case, after the move I set the MOZILLA_HOME environmental
variable so it pointed to the __parent__ directory of where my
'Mozilla' subdirectory (the one containing 'registry.dat') ended
up. [In other words, before the profile directory move, the
'Mozilla' subdirectory had 'bin' as its parent. After the move,
the 'Mozilla' subdirectory had a new parent.]
[What was "moved" was the __ENTIRE__ SUBDIRECTORY STRUCTURE,
starting with the 'Mozilla' subdirectory and including *all* the
subdirectories (and their subdirectories, etc.) below 'Mozilla'.]
mikus