On Fri, Aug 03, 2001 at 12:25:45AM +0000, [EMAIL PROTECTED] wrote:
> OK what I want to do is keep the program files for Mozilla in my
> PROGRAM FILES directory but move the data files from
> C:\WINDOWS\APPLICATION DATA  to a second hard drive. 
> 
> I will make an image of my C drive.  So then I can drop a clean image
> of C on to the C drive and have it look to the other drive for the
> profile.  I did this with Netscape.
> 
> So my question is how do you get Mozilla to look to another directory
> for profile data?


Mozilla uses the SHGetFolderPath Win32 function with the CSIDL_APPDATA flag
to determine where to put its data. SHGetFolderPath uses registry settings to
determine its return value. (Note that I am working of observation of
behaviour and not any authoritative knowledge here.) Those registry settings
are here:

  HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders

Change the "AppData" and perhaps "Local AppData" (and perhaps all the others
too) if you want to redirect where Windows decides to search for application
data. Not that this will cause other apps to look in the new place as well.
I am on Win2K so YMMV for other flavours.

Cheers,
Trent


-- 
Trent Mick
[EMAIL PROTECTED]

Reply via email to