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:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=Grs
	Ix6AZSDnCb0c/nCBOcGyJnVhEmjQBrXLjONhjWzzcIfWHpAB1rk5asyBjDNygzYH
	GWefm9iVPmLsFu+BrzHB8AaLoTBGhBz/WUoKFgct3ZKoKNPBBOb0LF6j7gcP66Rx
	9BRgMAhv1JEuYiq8Fdg9+Nielyol3keeFtuYqaI0=
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:mime-version
	:content-type:content-transfer-encoding; s=default; bh=PraXp43/O
	Qd5eBE6r0oF5uZNX58=; b=jNeQPh4rJnjANvMp4dM/V50UB6xS6TyRk6EAlPh/B
	HbrXL9jsQhAKU+nhNx4sxS5eIH5s2qp6omQi0Spc53YP8f8PZeS6AIBSMiwh28no
	NP1fUKd1qKg3VUC0uTaLFVUHapQWlhhFZWtC1QeyRfst9ptfl1XTd/S8ZkEYwsPD
	X4=
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=0.5 required=5.0 tests=BAYES_05,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*r:Unknown, H*UA:3.0.4, H*u:3.0.4
X-HELO: blaine.gmane.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject: which does not find batch files
Date: Sat, 17 Sep 2016 12:29:18 +0200
Lines: 8
Message-ID: <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

Hi,

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?

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

