X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 295FD3858C50 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1648564501; bh=p3Sa0ZNvCLHurJzqsbxCe717fieHfybI5BttB7bX598=; h=In-Reply-To:Subject:To:From:Message-ID:References:Date:Reply-To; b=AGC1SC3+EoGkQgst16Dgs0zYp93QaZSqTz25W3CCP3h0jgmrndCUaidxLDeyf01fD tAm72gJ6Mh75bdfsUPpXoZK3YtmVmffjKMipe9Qth/X+JQu+Tm505WkmLMHKhmfKe4 5eYP1N73wV5j1SHwnjmQnbfcvzyhfB6QzWWRGnpE= Authentication-Results: vla5-76e286f9e0ab.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Date: Tue, 29 Mar 2022 17:25:55 +0300 From: Andrey Repin X-Mailer: The Bat! (v9.3.4) Professional Message-ID: <56021491.20220329172555@yandex.ru> To: "G. Wong" , cygwin AT cygwin DOT com Subject: Re: Installing latest Cygwin setup on Win7 Prof system fails to correctly setup Cygwin64 Terminal shortcut... In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, NICE_REPLY_A, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, XM_LIGHT_HEAVY autolearn=no autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT 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: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Greetings, G. Wong! > Hi, > After installing Cygwin via setup-x86_64.exe, it creates a Cygwin64 > Terminal shortcut on the desktop but no target is defined in it. Clicking > on the shortcut obviously fails to start a shell console. > I did install the cygwin64 root directory to a different drive letter, > D:\cygwin64, instead of default C: drive. > In the cygwin64 directory, a batch file, Cygwin.bat, is there where running > it in a Windows cmd console will start a bash shell. > The main cmd in the batch file does a change directory from an environment > variable that doesn't exist: > cd /d "%~dp0bin" && .\bash --login -i "%~dp0" is a disk+path (including the trailing slash) from script name itself. It ALWAYS exists. > Setup log in /var/log doesn't show a failed setup issue. > Also, the Windows Start menu for Cygwin also has same bad link to start the > terminal. > -George Make sure you have bash.exe in your /bin directory. -- With best regards, Andrey Repin Tuesday, March 29, 2022 17:22:23 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple