On 17/03/2021 06:12, Daniel wrote:
Jonathan N. Little wrote on 16/3/21 11:03 pm:
...>
%APPDATA% is an environmental variable in Windows like $HOME is for
Linux. In Windows the profile is in a hidden directory off of the user
directory  C:\Users\USERNAME\Appdata\Mozilla\SeaMonkey whereas in Linux
it is in the hidden directory /home/USERNAME/.mozilla/seamonkey

So, if I had my profile at

H:\here\there\anywhere\AppData\Roaming\Mozilla\Seamonkey\Profiles

would the %APPDATA%\Mozilla\Seamonkey command locate my Profile??

Only if the APPDATA environment variable were set to 'H:\here\there\anywhere\AppData\Roaming'.

Then the string '%APPDATA%\Mozilla\Seamonkey' would identify where your Profiles directory is, in a context where environment variables are expanded; one of those is a script (CMD or PowerShell); another is reading a string from a Windows registry setting of type REG_EXPAND_SZ (the normal way APPDATA is used).

Environment variables can be set system-wide as well as per-user in Windows (and, somewhat differently, in Unix-like OSs). The settings are inherited down the process hierarchy. See <https://en.wikipedia.org/wiki/Environment_variable>.

/df

--
London
UK
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to