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: 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> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit 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 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: 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