From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24198 invoked by alias); 31 Dec 2012 17:32:23 -0000 Received: (qmail 24189 invoked by uid 22791); 31 Dec 2012 17:32:21 -0000 X-SWARE-Spam-Status: No, hits=1.1 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: sourceware.org Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 31 Dec 2012 17:32:17 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TpjDk-0001az-Jr for cygwin-talk@cygwin.com; Mon, 31 Dec 2012 09:32:16 -0800 Date: Mon, 31 Dec 2012 17:32:00 -0000 From: zgintasz To: cygwin-talk@cygwin.com Message-ID: <1356975136609-95135.post@n5.nabble.com> In-Reply-To: <50E1BE66.1060604@gmail.com> References: <1356968902288-95132.post@n5.nabble.com> <50E1BE66.1060604@gmail.com> Subject: Re: command not found when running from batch MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-talk-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-talk-owner@cygwin.com Reply-To: The Vulgar and Unprofessional Cygwin-Talk List Mail-Followup-To: cygwin-talk@cygwin.com X-SW-Source: 2012-q4/txt/msg00012.txt.bz2 First of all, thanks for reply. I'm compiling my own project with cygwin by launching build.sh. If I open cygwin, then locate path and then run build.sh, everything works totally fine: 1. open cygwin 2. cd F:/Projektai/osdev 3. ./build.sh But I'm a bit lazy, so I want to make build process easier - by just launching batch file. How to make this path correct? These files are in F:\cygwin\usr\local\cross\bin. -- View this message in context: http://cygwin.1069669.n5.nabble.com/command-not-found-when-running-from-batch-tp95132p95135.html Sent from the cygwin OT chat mailing list archive at Nabble.com.