On Feb 13 14:47, Warren Young wrote: > > On Feb 13, 2015, at 2:30 PM, Denis Excoffier <cyg...@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
pgpSHFql0FCJg.pgp
Description: PGP signature