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=Nxd9+LjQItwp7Qu3 | |
yjJWqPTpZOSgY8U68lbKD8XHoBf4cVTifOZqqox/WqJrBqUTZuyW0v30y5mS7/AP | |
uNORHqxPpD8DPn9h96XFoQGwDtdnQidmTz6EE/S0XY5ny17pwVk48AucXtutd4u+ | |
xBhEj7zfiEnggfexGLsm0DWg4AY= | |
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=qAlSuJHs4KYNa1kMxe1R01 | |
K4XwE=; b=EvO/HE1EPzxr994mggqP5lLhWFu1cS/CWCly3xmChVWDqH7JdxUUon | |
MxdUixUL0SozG9ux9AAueS1Zl/U0Fpm6HyNDlKRxGoMYJfLigJM7FV2T9n2HaKie | |
GR6ULnWM9XWRfmAdcpKtLMmZBQF9Ra+LRRW4Zv7OxGfu8m8+Ftf0s= | |
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=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=atzeri, Atzeri |
X-HELO: | mail-it0-f43.google.com |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=BpNbnQ2i2CIXuYrLmPoGYV92En+sXxGS5TJhM7akxl4=; b=kP1P7coT/N4W2tRzoueaaYEMfIgwGSKs0+iHc3MpvflVr7lQagPjpcYWCpEq++jmmn 1vLLC0l9qhk4SPJHtC/e+zdG+VF3MpEpQxNfNuAB2oV2T0GM87/K6AZGqVGQ0x1+hNWd UZZ3fCMbk1JZu6BhpOuH83lpl/JCi5PCLVA4yR3OiZ0NhTHJJvmMw20aLEHTg+wuZupe LiZKDqhlH7qf3sgdLJMJTfQl0HFKv/pAqLS1yj9AB9FdMqQiQnZt1cTDgDq0Jnvf4eMs JXDiZZXIcWKi0S72xTQfwcvoxGhxPvESRvzwDIaBfrrrL6Mgw05uwiAKRsIAT6qj9SMv +hPg== |
X-Gm-Message-State: | AEkoouu9pq20tmt+icjgxJVmviMOGqIMzHhkJOef7OhDf7ls48sfISCy2MinGrK1NjDpGQ== |
X-Received: | by 10.36.239.197 with SMTP id i188mr22796244ith.71.1470748458950; Tue, 09 Aug 2016 06:14:18 -0700 (PDT) |
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> <cef6d377-32c9-3861-5c99-88528539cc05 AT gmail DOT com> |
From: | cyg Simple <cygsimple AT gmail DOT com> |
Message-ID: | <5e7018cc-1f61-d958-dd43-78a446c06612@gmail.com> |
Date: | Tue, 9 Aug 2016 09:14:06 -0400 |
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: | <cef6d377-32c9-3861-5c99-88528539cc05@gmail.com> |
X-IsSubscribed: | yes |
On 8/9/2016 9:07 AM, Marco Atzeri wrote: > On 09/08/2016 14:58, cyg Simple wrote: >> >>> So, if we actually implement PATHEXT, its usage would be limited to >>> suffixes of binary files and files starting with #!<interpreter>, or we >>> would have to use a way to start an application which doesn't work well >>> in a POSIX scenario, or we would have to search the registry for the >>> suffix linkage. Additionally to searching a variable number of files >>> for each single file access. >> >> I tried "chmod +x foo.txt; ./foo.txt" but that results in Cygwin >> assuming the text file is a script and executing each line of the file. >> If PATHEXT were used only to determine that the file should be passed to >> ShellExecute instead it might be beneficial but since I can easily just >> do "cmd /c foo.txt" then probably not so much. > > try "cygstart foo.txt" > And then you can do: ln -s foo.txt foo cygstart foo OR you can do alias foo="cygstart foo.txt" foo -- cyg Simple -- 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 |