From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by sourceware.org (Postfix) with ESMTPS id 4C9FF385DC14 for ; Wed, 15 Apr 2020 12:42:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4C9FF385DC14 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=towo.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo@towo.net Received: from [192.168.178.45] ([95.90.245.244]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N2EHo-1jGhnY3Yti-013gOw for ; Wed, 15 Apr 2020 14:42:26 +0200 Subject: Re: Can I find where cygwin is installed (for automation purposes) To: cygwin@cygwin.com References: From: Thomas Wolff X-Tagtoolbar-Keys: D20200415144226295 Message-ID: <20877a05-79f2-549e-8959-3bd6904e5bb3@towo.net> Date: Wed, 15 Apr 2020 14:42:26 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:IFRlIL6RK3Z/d6a85yyigQtSyDzzMmgcMj5c3MySQ7x9CS6mPUp qXQ2w4/RMGVsL4rxVYiQIR1lFC+FisJhSyL6T9Nq/1rpZ9Hv9ylgmxfMEuxr2rRZ3i3YHRA 2aJHzZ0wUcrKo1fBY8Ih91VwCtLchLoPib0YFyRy/ESONzekJy/AcqFjwfB93V/oSwqNbbe uqOqvhwrUSGEIC6Dbz2lw== X-UI-Out-Filterresults: notjunk:1;V03:K0:Vxtj3gNOydE=:vBEmoFshYZ0u5F7mjqYblM mNfeVhMzRxv6MIqPu5kfM4uOok/sjt8RxtmQIl71y3U2F2gBdf72poP5r8zrelmydv8PM+xbI UcOc2Lzub1KrkFtaG5yolmblaN3Ehq2eigb7cwOB5pR4A/qx1bYPyd7w7BYvSoc9R8qQVYCRg h72J9YwxSLRRat1x53LzrSJjV/huvPduNa+nZnf1wOSEXUM/4+0YBWXHFw53pvufxriPyi4mN 7C0fN2SNhOOWXEfFFis63hO/4dR/CSmu1+nXKPwhQHWYvBmgij8tLI5AE0hTueiK1WqUY/g8o XROIRWlc5BILndrLkDZ7cnIth7Ynt1Tpcicbdrv3UizkwME36V3An37XPaG7x8YWArhUhuaeH rYKmXeQC9a2WwEk2sgPWJ7UMYXKgdWQxvMYd3KOePyYoew9nsa+CAlejS2D0GC69N7YkWS2wJ KiCc/izRkLWCtGfavX2CvWLdXaVTDr6vF3MblzstXhHbno37X0oW1Kc1w6jRlLgco3JoznvKN XxiOTyS5/9NvB70sQvv6MqgPQ6Za2SqEETIVoaXHU/aV+8QeB7AzXo0ZbzDbbWuAScGZiSWne sd3H1iXE6Jzdh9QtZh/xUpLuXOlG9YCNvkJsoP8W6h8Ig6IwbFkMWBFW86tpIfUfpvU5/TBBr Tc11BGBEMuNcpx04VxWA/UhBKwE1C2fypWk2+cN5Q5bMNjLPLmtqCl+x7I1mNtZ+qZjDUKLTS fi9uk2v6GBrltWD8vogghF+xzLZA9JvcgrYxayxe5+WED3KpvsY+wWDL1JLZdWM4WIqvdyduk /fnHa8wYC2UTI3IXgHgrRAN46x26W75WD9gKcjjYnyaD6Dfvro= X-Spam-Status: No, score=-11.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2020 12:42:29 -0000 Am 15.04.2020 um 12:51 schrieb Csaba Raduly via Cygwin: > Hi Paul, > > On Wed, Apr 15, 2020 at 12:30 PM Paul Moore via Cygwin > wrote: > >> I'm trying to write an automation script that works on a number of >> machines. I know that on all machines Cygwin will be installed, but I >> cannot guarantee that (1) it will be in the same location on each PC, >> or (2) that it will be in PATH. >> >> There's HKCU\Software\Cygwin\Installations, but that seems to use \?? >> prefixes on the PATH, which I'm not sure how to interpret Running that script within cygwin? `mount | grep " / "` > > On my machine, I have a > > HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup > > key, which contains a string value named "rootdir" with the date > "C:\cygwin64". > > Csaba >