Jonathan N. Little wrote:
Daniel wrote:
Smithy, would it be fair to suggest that Windows treats the %APPDATA% as
a sort of Wildcard, and just concentrates on looking all over the disk
for the bit that follows the %APPDATA%??
%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
And to complete the loop, the Linux reference is normally
$HOME/.mozilla/seamonkey . On a Mac, it's ~/Library/Application
Support/SeaMonkey .
In Windows, if you go out to a command window and enter SET you'll see
a list of all the currently-set environment variables. On a typical
system, there are several dozen -- many are pointers to specific
folders, but others contain useful information, which is often useful to
programmers. On my own machine, I also have several variables that I set
myself, to allow for quick access.
You can also get to the list of environment variables via the System
Properties. That's in the Advanced tab, and then clicking the
Environment Variables button.
For individual users, there are a handful that are worth knowing about
(and using):
%HOMEPATH% The location of your home directory. As with %APPDATA%
this allows you to not have to reference the Windows user name directly.
%TEMP% and %TMP% The location of the Temporary folder within your
user profile. This allows for all sorts of temporary information. In
Seamonkey, my experience is if I open an attached file (e.g., PDF, Word,
Excel, etc.) then the file is actually copied here. Thus, if I open an
attached file in its associated application, then close, I can re-open
by navigating to %TEMP% and opening the file from there. If I repeat
the opening of the attachment in Seamonkey, then the effect is that
there's a duplicate copy in %TEMP .
%USERNAME% can also be a useful variable to know about, as it quickly
gets you the actual name used for your Windows login ID.
Going back to at least tangentially on-topic point about Seamonkey
(actually all Mozilla apps) is that the use of environment variables is
part of what makes profiles portable across platforms. Thus, if I have
Seamonkey data in %APPDATA%\Mozilla\Seamonkey in Windows, I can copy it
to $HOME/.mozilla/seamonkey on Linux or ~/Library/Application
Support/SeaMonkey on a Mac . The only thing that needs to done in the
transfer is editing the profiles.ini file of changing directory names
from the back slashes that Windows uses to forward slashes that are used
on UNIX-derived systems.
Stepping back one further step, for moving from one Windows system to
another a straight copy is possible, although as described previously, I
prefer copying the entire Seamonkey folder, to keep all the paths
correct in profiles.ini. Otherwise, you have to edit profiles.ini to
make sure the paths specified there match what's actually on your drive.
(And as a separate thing, with editing profiles.ini, it is possible to
locate your profile in a non-standard location. I know that there's a
few people who do that kind of thing, usually the ones who like keeping
all their user data on a separate partition. But you could also do
something as simple as locating your profiles in somewhere like
Documents (a non-hidden folder) to make it easier to make backups,
whether a one-off backup when you're tinkering inside your profile, or
making it easier to include your data in routine data backups).
Smith
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey