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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Content-Type: text/plain; charset=utf-8 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: <9539a1e8-e893-3175-f96c-fb4ad172702c AT redhat DOT com> <2a87c6c0-6a0f-6994-3620-8b0b722d7d49 AT redhat DOT com> To: cygwin AT cygwin DOT com In-Reply-To: Message-Id: <06CBB893-FD9F-460F-B00C-E22950036B5E@solidrocksystems.com> X-IsSubscribed: yes Content-Transfer-Encoding: 8bit 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