From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116295 invoked by alias); 17 Sep 2016 10:42:27 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 116287 invoked by uid 89); 17 Sep 2016 10:42:26 -0000 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 Received: from Unknown (HELO blaine.gmane.org) (195.159.176.226) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 17 Sep 2016 10:42:26 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1blD4Y-00088x-Sa for cygwin@cygwin.com; Sat, 17 Sep 2016 12:42:14 +0200 To: cygwin@cygwin.com From: Thorsten Kampe Subject: Re: which does not find batch files Date: Sat, 17 Sep 2016 14:40:00 -0000 Message-ID: References: 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 X-SW-Source: 2016-09/txt/msg00235.txt.bz2 * 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