delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/15/11:51:16

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=P7jEXWPmtA3ZGsiZ
gXIp2aLbYgdGWPdsZZapMcNqTMyBRK7d6RIHtFe1MS0SHWNR2ET7GDdGD6WgbusK
pyzDBU9XgEjJ/qnAq1/IXJ/D9w90Dy46wDaqKoJ/FJf4ojBik7SJSyeHL3ro5Mzc
IiHSU6usUL+FB2j8dPZp9m1c7Rc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=//yQYckdM/nmQahGmqnEfs
T6F6o=; b=PGlxMbetWylI3cYVEDKjRTErFXTGx8Qq4my/C+7kLCQ6lfm4QiEoJL
KIyjXxItQ/f7vb2mBvHSJ0zUBKbBBeyJk44MWZ1OKEL1dy8PhIszegpfqkS/zDSg
/O/V+HZIeFGCPl0NcWTC+Lt8b/lzwKfvJIwvlXO7qlg0/yknoAdJ0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=win10, reader, discretion, Hx-languages-length:776
X-HELO: smtp-out-no.shaw.ca
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: Get Cygwin home directory path for current user
To: cygwin AT cygwin DOT com
References: <CANV9t=R83dQddZOVWVUg55t7K=DUyE8BiQ10Pn1v4G+xcgPh3w AT mail DOT gmail DOT com> <9539a1e8-e893-3175-f96c-fb4ad172702c AT redhat DOT com> <CANV9t=R-1XE-cyKa5vtvtu_3dJiYoLRstBTN86JiQ2FS2T+Jyw AT mail DOT gmail DOT com> <2a87c6c0-6a0f-6994-3620-8b0b722d7d49 AT redhat DOT com> <CANV9t=QXVTGF0uS+vNCmkrxNOV7GVAsO_5hTS9hizX0tnW=-PA AT mail DOT gmail DOT com> <06CBB893-FD9F-460F-B00C-E22950036B5E AT solidrocksystems DOT com> <CANV9t=RML1q=ZAQOadvrsjmWn2391s6jr_t1MgbaJxO6DM2V5Q AT mail DOT gmail DOT com> <EE1F333E-3A36-40CE-971B-1791145D29CC AT solidrocksystems DOT com> <CANV9t=Td7_G-Bk2XVyBVY3rN1QorgLsGU1ChBtJHOV7-qZVFcA AT mail DOT gmail DOT com> <BC6C185E-45C5-4C23-A82A-6C9A6EA4B063 AT solidrocksystems DOT com> <CANV9t=SLEs2GLx6pq8GXx6hnHO7jiLrxbZMU7Z_3WdpYGFyUJw AT mail DOT gmail DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Openpgp: preference=signencrypt
Message-ID: <3bcc1a62-2535-9e64-1ad1-380d9dd89843@SystematicSw.ab.ca>
Date: Fri, 15 Feb 2019 09:51:00 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
MIME-Version: 1.0
In-Reply-To: <CANV9t=SLEs2GLx6pq8GXx6hnHO7jiLrxbZMU7Z_3WdpYGFyUJw@mail.gmail.com>
X-IsSubscribed: yes

On 2019-02-14 17:03, Bill Stewart wrote:
> On Thu, Feb 14, 2019 at 4:57 PM Vince Rice wrote:
>> Here, you say "forget about the ~ character." We can't "forget" about the tilde. This whole
>> conversation is about the tilde, specifically tilde expansion.
> Eric Blake seems to have understood (see his response if it's still unclear).
- /home/$LOGNAME
- getent passwd $LOGNAME has Cygwin home /home/$LOGNAME as 2nd last field
- $HOMEDRIVE$HOMEPATH
- $USERPROFILE
- FOLDERID_Profile seems to be 40 on Win10 so cygpath -F 40 gives my USERPROFILE

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019