environment setup problem with "env -"

Christopher Faylor cgf@redhat.com
Mon Jan 12 20:26:00 GMT 2004


On Mon, Jan 12, 2004 at 03:20:38PM -0500, Joe Buehler wrote:
>Igor Pechtchanski wrote:
>>FWIW, here's what I get on my machine:
>>$ env - /bin/env
>>HOMEDRIVE=C:
>>HOMEPATH=\
>>LOGONSERVER=\\PECHTCHA
>>SYSTEMDRIVE=C:
>>SYSTEMROOT=C:\WINNT
>>USERDOMAIN=PECHTCHA
>>USERNAME=igor
>>USERPROFILE=C:\Documents and Settings\igor
>>$
>
>The one that caused me grief was USERPROFILE.  It caused trouble
>because of a 3rd party tool that did not expect any spaces in
>its value.  I was a little surprised at first because I am using
>env for strict control of the environment.
>
>If they have to stay because Microsoft says so, I guess I'll have
>to work around this some other way.

Maybe Corinna or Pierre can chime in here.  I don't remember the
unfortunate details which made us decide to keep those around.  Or,
maybe this is actually a bug.

cgf



More information about the Cygwin-developers mailing list