IT lexicon › Infra & Ops › ENV: and ENVARC: (AmigaOS)

ENV: and ENVARC: (AmigaOS)

Infra & Ops På svenska → Updated: 2026-11-09

AmigaOS's two layers of settings: one in RAM that applies now, and one on disk that applies next time.

From AmigaOS 2.0, global environment variables are stored as ordinary files, one file per variable. ENV: is an assign pointing at RAM:Env, and ENVARC: points at SYS:Prefs/Env-Archive on the system disk. At boot, Startup-Sequence copies the whole archive into RAM, and from then on programs read only from ENV:. SetEnv writes a variable; if you want it to survive a reboot, copying it to ENVARC: is your job.

The split is most visible in the preferences editors, which have both a Use and a Save button. Use writes only to ENV: and lasts until the power goes; Save writes to both. That made it safe to try a screen mode that might not work, since a reboot always brought back the old one. And because settings were readable files, they were trivial to back up, long before a registry made the opposite the norm.

← Back to the lexicon