Thanks.
I had no know idea if "." prefix directories are reasonable of not
reasonable on Win 95/98/NT. Note this is just UNIX convention, that makes
sense for UNIX like operating system, because of the default
de facto behaviour of the `/usr/bin/ls' program.
In short you do not mind if a program creates
`C:\Winnt\Profiles\johndoe\.gimprc'
directory to stores a properties file , say `default.config' on your
machine. Assuming %USRPROFILE% is `C:\Winnt\Profiles\johndoe'.
BTW: This `SysProps.java' program is handy.
Pete
______________________________ Reply Separator _________________________________
Subject: Re: Request For OS Sys Props [was Re: Reading (All) EnvVar
Author: paul ([EMAIL PROTECTED]) at lon-mime
Date: 16/12/98 13:21
Well,
First of all this is information you asked for.
os.name = Windows NT
os.arch = x86
os.version = 4.0
Then, why do you think this practice (with directories in user.home
started from .) is bad on WIN32? Yes, files started from '.' are visible
in explorer, so what? Sun's Workshop and my software and many other
softwares (even not written on java, e.g. Netscape Communicator) still
use directories and files instead of registry to store settings on 'by
user' basis. Storing settings on 'by machine' basis is not standardized
on Unix and is also difficult on Win32 (registry has more drawbacks than
advantages). Note that currently (Java 1.1 platform) user.home on NT is
set to directory %HOMEDRIVE%%HOMEPATH% but in 1.2. it will be set to
directory %USERPROFILE% that actually plays more as Unix home directory
on Windows NT than %HOMEDRIVE%%HOMEPATH% (it is so usual for Microsoft to
change the meaning of well known words in their products ;-) ).
All the Best
Pavel
--<CUT>--
syspro~1.jav