Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: running .bat files from bash Date: Mon, 20 Dec 2004 18:17:48 +0100 Lines: 16 Message-ID: <1qfnqht261pte.dlg@thorstenkampe.de> References: <20041215201009 DOT 16917 DOT qmail AT web26107 DOT mail DOT ukl DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: p508cd639.dip0.t-ipconnect.de User-Agent: 40tude_Dialog/2.0.14.1de X-IsSubscribed: yes * Donal Murtagh (2004-12-15 21:10 +0100) > I've noticed that if I want to run a .bat file in bash I have to cd to the > directory it's in first in order for it to run properly > > For example, if I want to run c:\foo\bar.bat I have to use: > > cd /cygdrive/c/foo > bar.bat > > if I try > > /cygdrive/c/foo/bar.bat cygstart /cygdrive/c/foo/bar.bat Thorsten -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/