delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/15/12:51:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20010115124313.023299b8@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Mon, 15 Jan 2001 12:46:11 -0500
To: Michael Yorg <myorg AT extensity DOT com>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Running .bat files from CYGWIN
In-Reply-To: <4C28764D2C67D3119D3F0090279C6F64035E69C2@corp-exch.hq.exte
nsity.com>
Mime-Version: 1.0

At 12:43 PM 1/15/2001, Michael Yorg wrote:
>I have read that CYGWIN supports running DOS .bat files but the shell seems
>the think that they aren't executable.  The exact error is, 'command not
>found'.  I've used chmod to give the file executable status and it still
>won't work.  Someone recommended running the .bat file from within a shell
>script and that didn't seem to work either.  What am I doing wrong?



Check the mail list archive for discussions on this.  You should be able to 
execute batch files by invoking the command interpreter (i.e. "cmd /c b.bat"
on NT/W2K).  sh (ash) or bash won't know what to do with these files 
otherwise, even if it did read them...




Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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