From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward501p.mail.yandex.net (forward501p.mail.yandex.net [77.88.28.111]) by sourceware.org (Postfix) with ESMTPS id 295FD3858C50 for ; Tue, 29 Mar 2022 14:35:04 +0000 (GMT) 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 Received: from vla5-76e286f9e0ab.qloud-c.yandex.net (vla5-76e286f9e0ab.qloud-c.yandex.net [IPv6:2a02:6b8:c18:340b:0:640:76e2:86f9]) by forward501p.mail.yandex.net (Yandex) with ESMTP id E78E16212F2B; Tue, 29 Mar 2022 17:35:01 +0300 (MSK) Received: from vla1-ef285479e348.qloud-c.yandex.net (vla1-ef285479e348.qloud-c.yandex.net [2a02:6b8:c0d:35a1:0:640:ef28:5479]) by vla5-76e286f9e0ab.qloud-c.yandex.net (mxback/Yandex) with ESMTP id aFCLtmLZp9-Z1fOA8ZG; Tue, 29 Mar 2022 17:35:01 +0300 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 Received: by vla1-ef285479e348.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 5Z3fX5hu9e-Z1KqcblC; Tue, 29 Mar 2022 17:35:01 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Tue, 29 Mar 2022 14:25:55 -0000 Date: Tue, 29 Mar 2022 17:25:55 +0300 From: Andrey Repin X-Mailer: The Bat! (v9.3.4) Professional Reply-To: cygwin@cygwin.com Message-ID: <56021491.20220329172555@yandex.ru> To: "G. Wong" , cygwin@cygwin.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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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@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: Tue, 29 Mar 2022 14:35:06 -0000 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...