delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/09/09:08:05

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=rCd96Wch/IB4lsIs
RagvjFJp0qQsnjehJoYhScp+bnkCTKHSH5eM/SMOp+t0JDRpnBSMfMhsH81SGrqf
BpDWS3/FrLETOucros8VqbrPTctS3BI0SAgV1LJ42P3lY1/VVGUE9vYeucN7hpuH
XzBWvXrStNtSqQ9uqYFQ0EieEQg=
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=eYC4uLH/sB79lhEn6y5L0S
JI1o4=; b=yakKR3tZWE9PhY9PP8AvYXMCJXnI+2QDQ/ECPfyPNf7cebWTb+7p6o
kF8z5EgUwzd4P71N0LVXoVVam7WSZBAKwXBfmetfMCE0o2hJyOYzfLQxGg+6lujA
bs/b0MHR4m9CABF/mkjo09MqW43zHcNOlsMnEN9RNqSI2kCWjAjKg=
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.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*MI:sk:8dc8498, H*i:sk:8dc8498, H*f:sk:8dc8498
X-HELO: mail-wm0-f41.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=qF+XnVz4qdS4fBu1O1jVYadUzJV57nbMMtlhU0AqSv0=; b=Pq28qTGPWjdPkDCzpHC9Fl37ESu2fFkjztvfJc20Gu0dQftv6gNl8EqW4hyrWwZFrB /k2wBE8nYna1+X+5NG07Wxg8tDFi0dFg0lZiID7UjnXyoJQIGtT62AqJFty6hv/e/Eeo XXTHjIfJWHZ/5OQuoDBTMLjvRQ2coGIx8BYu5+STOPkZsvvAoFBOjSJwkGQpO9ve1zwD FApm1Jq5RVk6JEZ7zV9Pw9GAamwpkXXtFdOkiqVZ1H2Co30XUQ+y9FaJdZ1bO3bzMCfr WtsqmX86AIfRVL+De8RA+90xOcc5g31dmiOtmOlSWFBNQrdQmCKa+h2mVM7gcuIc9j+g 9J1g==
X-Gm-Message-State: AEkooutt3Cvb1jpTRKioCACBq7kL8zyJ6GWIOjxU1zib8x8xCPel23ACNu6VD2g4I+qqng==
X-Received: by 10.194.39.3 with SMTP id l3mr103155062wjk.133.1470748064636; Tue, 09 Aug 2016 06:07:44 -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>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <cef6d377-32c9-3861-5c99-88528539cc05@gmail.com>
Date: Tue, 9 Aug 2016 15:07:36 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <8dc84987-802d-30d3-3ebb-2ba25871b561@gmail.com>
X-IsSubscribed: yes

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"


--
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

- Raw text -


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