X-Recipient: archive-cygwin@delorie.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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=AYYo6mmscqQUSjQ4buhWbfSLbvxsLJ+20UNrKQC9V3JInudrxzhvZ
	San0BfpqAxdzCK0sp1vT1tAg1fgzb8Mpnon2UkaasD1xj7Nuk82MAI+KTDyYW4aE
	hoLT7nGzc0aDmUQocDAgJgAxHIfQBtBS3QT/m8rKHi5wNWiZCZB4BY=
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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=ksObCcTzD3pZVHvrd+DlB4rv2Po=; b=U9Kn1MkQu3ZLgMvSKj+TgM2vFFKM
	mVLdn0rJF2QiXbUoRgpexp7AKhwDaqH8i72f8vnm+7i9gNEyE6mYugx+aCQdY08T
	xtAbWeRL92nXOqE9vDeOvUN99qD3HsMjNZprJs82DXuBAaR98uTt1k7cLBpTc55+
	+MJD3LJ7RCbSTSw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=BAYES_40,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=kampe, Kampe, Thorsten, H*r:Unknown
X-HELO: blaine.gmane.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject: Re: which does not find batch files
Date: Sat, 17 Sep 2016 12:42:05 +0200
Lines: 10
Message-ID: <nrj6m1$sb5$4@blaine.gmane.org>
References: <nrj5u2$sb5$2@blaine.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/3.0.4
X-IsSubscribed: yes

* Thorsten Kampe (Sat, 17 Sep 2016 12:29:18 +0200)
> while the Cygwin shell (bash and zsh) can find and execute batch 
> files (extension bat and cmd) the external and internal which command 
> cannot. Is there a way around this?

On further inspection, it seems as the cause is that the batch files 
are located on an exFAT thumb drive. Still I wonder if it's possible 
to make which recognize these batch files as executable.

Thorsten


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

