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: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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=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 AT cygwin DOT com From: Thorsten Kampe Subject: which does not find batch files Date: Sat, 17 Sep 2016 12:29:18 +0200 Lines: 8 Message-ID: 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