delorie.com/archives/browse.cgi | search |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=qiikpUpwv1R22s9/ | |
mNWZ6bUiqoR0sLzHSEbhQyuqQlNrpItnSTVQtJ09ZEV2eCbj4GYBENWzvJ+lgm5E | |
4Q2rV0xe5kBLexyRJyN39pV9tnAAiI+uPk5oqjnKc9BjNmcVG4CgdH0cTlXd4J7p | |
b+uV0qt0vK7Y2u2Rf8iT2cjWxww= | |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=SDJaNswHwFX/I3fiwtnzqp | |
N0rwE=; b=w5mlHngVGx2TQRezUAZjUnlwehSwhDkZBc16RduOUY/qWX+f5bnTtj | |
BobbsRZci5ZOufV3tu4pxS2vUgWxPC81i57pk4WFAMRQY8g8rV8nfBxsJgezQphJ | |
iWKKtnzW4TpdT8kBS1MakFUd4GlOiHzsfarXKIeBYZIDVZpoSQ2HQ= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=0.5 required=5.0 tests=BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*M:online, schrieb, H*MI:sk:3104971, UD:js |
X-HELO: | mailout03.t-online.de |
Subject: | Re: PATHEXT is fundamental to Windows and Should be recognised by CYGWIN |
To: | cygwin AT cygwin DOT com |
References: | <001001d1edf1$a4e1ae90$eea50bb0$@rogers.com> <1C0AE95E-0118-4353-AA77-4D41F1AE9AE1 AT solidrocksystems DOT com> <001a01d1eea9$f7949a90$e6bdcfb0$@rogers.com> <76ec05e9-140a-19cb-942b-698582c3d024 AT gmail DOT com> <001f01d1ef2c$f04af9e0$d0e0eda0$@rogers.com> <20160805152951 DOT GO25811 AT calimero DOT vinschen DOT de> <57A6ED1C DOT 1060402 AT gmx DOT de> <20160808112321 DOT GF32150 AT calimero DOT vinschen DOT de> <e90174df-61b4-17c8-064b-30009e6ad559 AT gmail DOT com> <20160808143321 DOT GS25811 AT calimero DOT vinschen DOT de> <8dc84987-802d-30d3-3ebb-2ba25871b561 AT gmail DOT com> <CACoZoo3_kBe6zWktTzydhHFzeZMr+AZe1Z2WujagTcLme_ctZg AT mail DOT gmail DOT com> <310497164 DOT 20160810040104 AT yandex DOT ru> |
From: | =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= <HBBroeker AT t-online DOT de> |
Message-ID: | <3bed7d1a-1747-5dd9-6dea-594588006000@t-online.de> |
Date: | Wed, 10 Aug 2016 20:59:45 +0200 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <310497164.20160810040104@yandex.ru> |
X-IsSubscribed: | yes |
Am 10.08.2016 um 03:01 schrieb Andrey Repin: > PATHEXT tells the shell to consider these file extensions executable. No. That's what file associations do. cygstart will apply those where needed, so let's consider that aspect of the case closed, shall we? PATHEXT has just _one_ job, in those few tools that even use it: it saves one the burden of referring to a file by its actual name. It's what makes a given command of just foo.bar execute the first reachable one in this list foo.bar foo.bar.com foo.bar.exe foo.bar.bat foo.bar.cmd foo.bar.vbs foo.bar.vbe foo.bar.js ... in the current directory (unconditionally!), or the %PATH%. So the only thing one has to do in order not to need PATHEXT support is to call all files by their full names, which a careful script programmer should always be doing anyway. So PATHEXT gains you nothing in well-written scripts. That leaves the interactive command line as a possible use case to benefit from PATHEXT. I say Bash <Tab> completion runs circles around that any day. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |