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:references:in-reply-to:from:date :message-id:subject:to:content-type; q=dns; s=default; b=jxrSEQX q9a/9I+0yrLaLNSWNXYXpMk9UuMnBpzzEQCpyU51Rwu3XHBoZQgzSIw+jLvS/sVs sYH+AIlt/GiYPcuN8NW3sh956fNItQDv+fALqZTnSFRoANV94HDhV+vIxojrJTYE /SfB/JoM36CVcn/y3ctaaAQwO2sZ2K5E5wzA= 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:references:in-reply-to:from:date :message-id:subject:to:content-type; s=default; bh=EEjaoEnRZtzJ/ efbP+Uw7NhyVsk=; b=Ps56jErFLx/zlB2avSaUJ7oKySy8MQEYUQ7Bbll31gyZ5 9SSyrT4JB/muINEZSACa7uvRJA3405LGRF06Qa6cvohUI/AoMBTmsysT/NVg8HOo ee4ZRmqx9ySDKzqzTWrWuNTmJjH+tV4sNFOzT3DRCsggHI12QNfDWWKv/fwsFo= 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=disagree, Hx-languages-length:462 X-HELO: mout.gmx.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1550259779; bh=ShL4V9u4LvoHkeaT0Uk0S5Q2PIQOcEWHW9I/OAssDXI=; h=X-UI-Sender-Class:References:In-Reply-To:From:Date:Subject:To; b=dhatYKj2Zn4K0L7HBiNPhw3JnDPD0FIqe++EYNKsZAZZDtYq84Hed9Iq4C9ouIZ5Q GGGjRKhytzbq3idSnhX36fowE8AqYTgqL6gsUOiAMeYvM52sH80qdHPyz5kktZGYeS XWDojJTaCMKM7nvqdvnnxFLPVCsdNc5nlafK47yY= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 MIME-Version: 1.0 References: <9539a1e8-e893-3175-f96c-fb4ad172702c AT redhat DOT com> <2a87c6c0-6a0f-6994-3620-8b0b722d7d49 AT redhat DOT com> <06CBB893-FD9F-460F-B00C-E22950036B5E AT solidrocksystems DOT com> <1861294227 DOT 20190215144010 AT yandex DOT ru> In-Reply-To: <1861294227.20190215144010@yandex.ru> From: Bill Stewart Date: Fri, 15 Feb 2019 12:42:45 -0700 Message-ID: Subject: Re: Get Cygwin home directory path for current user To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes On Fri, Feb 15, 2019 at 4:50 AM Andrey Repin wrote: > Not as good as bash. Just so you know. We'll just agree to disagree on that (particularly on Windows). > Setup your system to use %USERPROFILE% as $HOME and forget this problem > altogether. > For interoperability's sake! (q) That won't work, because Cygwin $HOME can be different from the USERPROFILE environment variable on Windows. Regards, 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