This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: What about HOME and USER when starting Cygwin B20.1
- To: Christian Jönsson <c dot christian dot joensson at telia dot com>
- Subject: Re: What about HOME and USER when starting Cygwin B20.1
- From: Andres Heinloo <lka at physic dot ut dot ee>
- Date: Mon, 7 Dec 1998 01:24:40 +0200 (EET DST)
- cc: GNU Win32 <gnu-win32 at cygnus dot 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".