delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/14/17:14:51

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:from:content-type:content-transfer-encoding
:mime-version:subject:date:references:to:in-reply-to:message-id;
q=dns; s=default; b=ZuHqzjDv5FCN60UepA6+agR5AXu5f8c7esATnm3UL9Y
aSICClJO+WTWJKPTBue8meNB460gMIEU4hQ5ZV+xgzLOnrJT0lZH7Ylh0DTjMPld
ijinqhIMVq7rNi9omjfoJoFnilxOQBvNtOWWKGZszzH6BiOKAl1bA5PcjdSBi+KE
=
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:from:content-type:content-transfer-encoding
:mime-version:subject:date:references:to:in-reply-to:message-id;
s=default; bh=bSmpECEVzX96/eZGuRSn7yBot4I=; b=eiCkJuDsU1q4XQAdz
XAevZqrFtH+K2dWlNirt6zzuLVJi56R5rc2bBM/HebOHBBHrj6jwCqwtZ+fIdVJV
PVfmNJpMCYw4JvctLa95KeZ2e1tbkPVB7K6hAxs7VJL04lk7mZDqUcXBAa6UCcNK
pO/rJxQw4pDjj814HoQ2ecWnX4=
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.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=
X-HELO: alt-proxy16.mail.unifiedlayer.com
From: Vince Rice <vrice AT solidrocksystems DOT com>
Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\))
Subject: Re: Get Cygwin home directory path for current user
Date: Thu, 14 Feb 2019 16:14:35 -0600
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>
To: cygwin AT cygwin DOT com
In-Reply-To: <CANV9t=QXVTGF0uS+vNCmkrxNOV7GVAsO_5hTS9hizX0tnW=-PA@mail.gmail.com>
Message-Id: <06CBB893-FD9F-460F-B00C-E22950036B5E@solidrocksystems.com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x1EMEoUH003049

> On Feb 14, 2019, at 3:51 PM, Bill Stewart wrote:
> 
> Seems like there must be a better way...

There is — use a cygwin shell. As Eric has already explained, expansion is the
shell's responsibility. Powershell doesn't do it. If you want expansion, use one
that does.
--
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