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:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=vLO/axhWeopqlF2ple4zSU5vXv5Nm HZoqrDmZqohkv4W7gEdm1qLo6WtZ4XgNPmr4C7OE1BjYfV2MjWVLABncv3j4PMsb LumB7DUN4lpOnVRC9y0dl79MjhNtY2FISsH5v6o2MJh3Zl89/g5w2Uo1Dmx/G8FZ Ue/tBoYbGTub0U= 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:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=whFxwdMTqWwJx4DEvMdQo9bLjLM=; b=qDt VI1Ign8WNOElkkwjIgJO8RBM2CBbIDTjJlGmOibJ3yaqWdHyKCCOrYPfFvPHhNGF lmX8WLHs7fxCss4iuiIT8t1HCOB6+lws7JnljxRkYoKohMDq0b7uHEcPjqiQv6M/ QCqFL5xvMfigwYz+uB/eBPm1uYSH6q+uAA67tifg= 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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=formerly X-HELO: mout.gmx.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1550173270; bh=4j0nO9RmM127nwrSdJ2JBvgwHwQcVscE0S3TCx5WpaA=; h=X-UI-Sender-Class:From:Date:Subject:To; b=MUogz+5Y7DFIaJaptamzc2kXWPbwyjN8ug0hk6WxAc+rSxRsCnwKdBaL8dba3iJhr 0EwsuvoJqyx3/RYbQ8kg6w/uDax8WZ0Zp3yU/l4V2o8JYm7bX9oiYv9dSQUXu3ys1Q /t4c8qq78hXVA89f0PruBxz7vG1Jb4vu2cJn5jQY= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 MIME-Version: 1.0 From: Bill Stewart Date: Thu, 14 Feb 2019 12:40:56 -0700 Message-ID: Subject: Get Cygwin home directory path for current user To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes According to this: https://stackoverflow.com/questions/42841907/ cygpath -w ~ ...formerly produced to stdout the home directory path for the current user. This seems not be the case any more: When I run cygpath -w ~, I get just ~. Is this by design? If so, what's the way to programmatically determine the Windows path of ~? Bill -- 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