This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Feb 13 14:47, Warren Young wrote: > > On Feb 13, 2015, at 2:30 PM, Denis Excoffier <cygwin@Denis-Excoffier.org> wrote: > > > > On 2015-02-13 22:04, Warren Young wrote: > >> > >> I donât think you should use %H when that directory might contain spaces. > > > > You misunderstand. I don't need this stupid 'Document and Settings' thing. I need %H to represent my home dir, that means > > /cygdrive/d/Home/myuser1 on this XP P3 (a corporate one) and /cygdrive/c/Users/myuser2 on this W7 (another corporate). > > In that case, I think you just want > > db_home: /%H > > %H already expands to a directory that contains your Windows user > name. You donât need to add %U to it. > > > But currently, on XP SP3, the %H is replaced by '/cygdrive/d/Document and Settings/myuser1' which i'm pretty > > close to consider as a bug. Should be '/cygdrive/d/Home/myuser1' i suppose. > > Iâd be stunned if cygwin1.dll is hard-coding that string. It must be > getting it from somewhere. I would do a registry scan to see if there > is still some setting that still refers to c:\Documents and Settings. I hope https://cygwin.com/ml/cygwin/2015-02/msg00425.html explains it thoroughly enough. Does %H need a better description in the docs? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
Attachment:
pgpXicQwKlC7D.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |