delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/11/13:54:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.8 required=5.0 tests=AWL,BAYES_05,BOTNET,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-id: <4FFDBDA1.2090700@cygwin.com>
Date: Wed, 11 Jul 2012 13:53:37 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: running .bat file in cygwin
References: <34146666 DOT post AT talk DOT nabble DOT com> <4FFDAC3B DOT 2060901 AT cygwin DOT com> <34146901 DOT post AT talk DOT nabble DOT com>
In-reply-to: <34146901.post@talk.nabble.com>
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

On 7/11/2012 1:05 PM, emon wrote:
>
> Dear Larry,
>                When I use mingw terminal, build.bat would create a mask.exe.
> This is the executable file,mask.exe.  If I try the same way in cygwin, it
> provides me the following error.
> -bash:build.bat command not found.

As Greg points out in a subsequent message, you need to tell Cygwin where
to find "build.bat".  You'd need to do the same in Mingw but there you've
probably had its location in your path for a while so it's likely this
detail has slipped from your memory.

> By the by, my computer is installed both cygwin and mingw.
>
> thanks for your respond.  I am sure there is a lacking in my background in
> cygwin somewhere, if you may point that out, so I can seach read the proper
> documentation.

A good source of Cygwin-specific information is:

<http://cygwin.com/cygwin-ug-net.html>

Newbie guides for Linux are your best bet if you need help from ground zero.


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?


--
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