This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: More on Win7 update messing up HOME
- From: David Karr <davidmichaelkarr at gmail dot com>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Fri, 16 Aug 2019 11:30:47 -0700
- Subject: Re: More on Win7 update messing up HOME
- References: <CAA5t8Vo_kdqfAO1L_z-xf8mzp=fK3AuTYRmoqHLKLiz33Rx-mQ@mail.gmail.com> <852665122.20190816134116@yandex.ru> <CAA5t8Vp9xRjv1Quy02Xoy+FXFGxqrPgYOp_f7ecNrP=HP+bYdA@mail.gmail.com> <c8a9c033-723f-7018-2c32-d8254e5c9f70@t-online.de>
On Fri, Aug 16, 2019 at 10:32 AM Hans-Bernhard Bröker wrote:
> Am 16.08.2019 um 15:28 schrieb David Karr:
> > On Fri, Aug 16, 2019 at 3:50 AM Andrey Repin wrote:
>
> >> Do you have %HOME% variable set in your user environment?
> >> Do you have %HOMEDRIVE%/%HOMEPATH% variables defined to something
> >> unsettling?
>
> > I checked "Environment Variables" in control panel, and I'm not setting
> > anything beginning with "HOME" in either user or system variables.
>
> That check is not really useful, though.
>
> You need to look at the actual environment constructed for a user
> process, at run-time. About the easiest is to start a Windows command
> shell (Start->Run "cmd") and look at the output of the "set" command.
>
> In cases of looking for names starting with some prefix, like here, you
> can narrow down the search:
>
> set HOME
>
That just results in:
HOMEDRIVE=C:
HOMEPATH=\Users\<myuid>
I detailed this in another reply, but this would fit one of those checks,
which should result in "C:\Users\<myuid>", which is my Windows home
directory, which does exist. I don't want it to use this, but it's not
anyway. It's resulting in "/" as my Cygwin home.
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>
>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple