From: | Jeff Gilpin |
Date: | 9 Mar 2001 at 16:07:29 |
Subject: | [D5] Re: Stall while loading |
Hello Tim,
On 09-Mar-01, you wrote:
> I suppose, that if you never used the USE option for your preferences, and
> always used the SAVE option (like Mac and Windows - all changes to your
> settings are instant and perpetuating changes), you could simply assign
> ENV: to ENVARC: and not bother to copy anything at all.
Actually, I tried that and it doesn't work. Either IPrefs or
WorkBench.library is hard coded to look for the system prefs
in ram:ENV instead of ENV:. I wouldn't have wanted to leave
it that way; I was just trying to see how little I could get
away with copying to ENV: and still have the system work right.
Assign ENV: to ENVARC: ADD works better because you can still
select the USE option and prefs will be saved in ram:ENV. If
a program is looking for prefs in ENV: and none have been
saved in the current session, it will still find them because
of the Assign ADD to ENVARC:. The only time this doesn't work
is with programs like Miami and AWeb that use their own
directory in ENV:. If their directory does not exist in ram:ENV the
USE option will not work.
The minimum you need in ENV: are the system prefs and the subdirectories
for programs that use them. If I could figure out how to copy the entire
ENVARC: directory structure (minus the files) without adding a bunch
of MAKEDIR commands to my startup-sequence I'd do it that way. Does
anyone know how to do that with only one or two AmigaDOS commands?
Regards,