delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/17/14:31:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.4 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4D0BB3F6.5000607@cygwin.com>
References: <AANLkTikAZ3sCTTQBBsf5_twvo2FUbGWDQ6rXtxSxidpc AT mail DOT gmail DOT com> <4D0BB3F6 DOT 5000607 AT cygwin DOT com>
Date: Fri, 17 Dec 2010 14:31:32 -0500
Message-ID: <AANLkTim9Bf=uO5EwNR8yGG2wZmyr0WKTjUqb5vdvE98O@mail.gmail.com>
Subject: Re: executing .bat & .cmd files with 1.7
From: =?ISO-8859-1?Q?Vincent_C=F4t=E9=2DRoy?= <vincentcr AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Hi Larry,

I'm sorry, I wasn't very clear:  xyz.bat or xyz.cmd do indeed execute
as before. My problem is that when I type xyz (i.e. without the
extension) it won't find xyz.bat or xyz.cmd, as it did before
upgrading.






2010/12/17 Larry Hall (Cygwin) <reply-to-list-only-lh AT cygwin DOT com>:
> On 12/17/2010 12:54 PM, Vincent C=F4t=E9-Roy wrote:
>>
>> Hi,
>> I've just upgraded to 1.7 (from 1.5) and ever since I did, .bat and
>> .cmd files are no longer automagically executed when I invoke them
>> without their extension: i.e., it used to be that invoking xyz in bash
>> would execute xyz.bat or xyz.cmd if it happened to be in my path.
>>
>> Is this a new feature of 1.7, or something is wrong with my setup? In
>> either case, is there some way I can get it back?
>
> There's nothing wrong with your setup. =A0Invoke xyz.bat or xyz.cmd as
> appropriate.
>
> --
> Larry
>
> _____________________________________________________________________
>
> A: Yes.
>>
>> Q: Are you sure?
>>>
>>> A: Because it reverses the logical flow of conversation.
>>>>
>>>> Q: Why is top posting annoying in email?
>
> --
> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-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

- Raw text -


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