From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11483 invoked by alias); 31 Dec 2012 15:48:31 -0000 Received: (qmail 11468 invoked by uid 22791); 31 Dec 2012 15:48:29 -0000 X-SWARE-Spam-Status: No, hits=2.8 required=5.0 tests=BAYES_20,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,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 15:48:23 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TphbC-00042N-A0 for cygwin-talk@cygwin.com; Mon, 31 Dec 2012 07:48:22 -0800 Date: Mon, 31 Dec 2012 15:48:00 -0000 From: zgintasz To: cygwin-talk@cygwin.com Message-ID: <1356968902288-95132.post@n5.nabble.com> Subject: 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/msg00010.txt.bz2 Hi, I'm trying to make building process easier. When I launch cygwin and run build.sh script, everything is fine, but I want to launch this script from batch file. I do this: @echo off F:/cygwin/bin/bash --login -c "cd F:/Projektai/osdev && sh build.sh" When I launch it, I get errors *i586-elf-gcc: command not found* and *i586-elf-ld: command not found*. I can't find the solution, how can I fix it? Thanks. -- View this message in context: http://cygwin.1069669.n5.nabble.com/command-not-found-when-running-from-batch-tp95132.html Sent from the cygwin OT chat mailing list archive at Nabble.com.