gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining HOME under MinGW


From: David Ayers
Subject: Re: Determining HOME under MinGW
Date: Wed, 27 Nov 2002 16:52:42 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016

Tom Koelman wrote:

Richard Frith-Macdonald wrote:

I'll trust that this is a good idea ... I don't know about windows ...

I've implemented USERPROFILE in NSHomeDirectoryForUser() and
in the corresponding user_home.c code in the make package.

Well, USERPROFILE is the location where user specific files are
usually stored. The HOMEDRIVE / HOMEPATH construction is used _very_
seldomly, as far as I know, actually I hadn't heard of it's existance
before I discovered OpenStep.
Well I just checked my W2K system, which has an OPENSTEP Enterprise installed.
HOMEDRIVE=C:
HOMEPATH=/
USERPROFILE=C:\Dokumente und Einstellungen\Ayers
I guess on an english system it would be:
USERPROFILE=C:\Documents and Settings\Ayers

Now by concept the USERPROFILE actually fits the notion of the "user" directory beter. Yet this path is bound to have spaces and I'm not sure what implications that would have. (I wondering whether gnustep-make needs checks for files in this directory.) Please also not the slash/backslash difference.

Cheers,
Dave









reply via email to

[Prev in Thread] Current Thread [Next in Thread]