From: lka@physic.ut.ee (Andres Heinloo)
Subject: Re: What about HOME and USER when starting Cygwin B20.1
6 Dec 1998 20:47:42 -0800
Message-ID: <Pine.GSO.3.95q.981207012118.26132B-100000.cygnus.gnu-win32@rubiin.physic.ut.ee>
References: <006801be2119$1f2574c0$4e28c6c3@p4kpm>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
To: =?iso-8859-1?Q?Christian_J=F6nsson?= <c.christian.joensson@telia.com>
Cc: GNU Win32 <gnu-win32@cygnus.com>


On Sun, 6 Dec 1998, Christian Jönsson wrote:

> export USER=chj    # That's my Username in then Win98 registry, others exit on my machine.
> export HOME=/WINDOWS/Profiles/$USER
> cd 
> 
> That would be handy to have automatically. I guess that the problem of
> getting the Username out of the registry isn't that easy, is it? 

export HOME=`logname`


Andres.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
