delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/03/29/10:35:23

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 <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <56021491.20220329172555@yandex.ru>
To: "G. Wong" <gwong589 AT gmail DOT com>, 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: <CAM9JQpnvFKujfoWrHub+Q7QWoxjAjko3Fecu6MW-bN5_q6VBkg@mail.gmail.com>
References: <CAM9JQpnvFKujfoWrHub+Q7QWoxjAjko3Fecu6MW-bN5_q6VBkg AT mail DOT gmail DOT com>
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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019