www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Sat, 18 Dec 2010 12:45:58 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: executing .bat & .cmd files with 1.7 |
Message-ID: | <20101218114558.GA18211@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <AANLkTikAZ3sCTTQBBsf5_twvo2FUbGWDQ6rXtxSxidpc AT mail DOT gmail DOT com> <4D0BB3F6 DOT 5000607 AT cygwin DOT com> <AANLkTim9Bf=uO5EwNR8yGG2wZmyr0WKTjUqb5vdvE98O AT mail DOT gmail DOT com> <AANLkTikuOe224qWBJd8E_QhR28-KFW1tUsb+nwCbQDxm AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <AANLkTikuOe224qWBJd8E_QhR28-KFW1tUsb+nwCbQDxm@mail.gmail.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
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 |
On Dec 17 19:41, Andy Koppe wrote: > 2010/12/17 Vincent Côté-Roy: > > 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. > > It did not do that. Not on the Cygwin 1.5.25 install here anyway. Maybe Vincent is using tcsh. Older tcsh took .bat and .cmd extensions into account, newer versions don't. That's a deliberate change since the behaviour diverged from the standard POSIX behaviour. If you have a shell script called "foo.sh" or "foo.csh", you have to give the full name "foo.sh" or "foo.csh". You can't start them just specifying "foo". In Cygwin, only the .exe and .lnk suffixes have a special meaning for obvious reasons. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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 |