delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/17/06:42:42

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: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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
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 AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT 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 AT blaine DOT gmane DOT org>
Mime-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019