delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/31/10:17:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <2ee1c2b30508310716531e6b45@mail.gmail.com>
Date: Wed, 31 Aug 2005 09:16:57 -0500
From: Weiqi Gao <weiqigao AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: how to run a program from the bash console
In-Reply-To: <4315BB19.2080100@vt.edu>
Mime-Version: 1.0
References: <4315BB19 DOT 2080100 AT vt DOT edu>
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id j7VEHA48029431

On 8/31/05, William Creel <wdcdw AT vt DOT edu> wrote:> I am attempting to run a Windows program from the Bash console.  I have> attempted modifying my path in the .bash_profile file in my home> directory with the following line:> > PATH=/cygdrive/c/'Program Files'/'<program folder>'/<program> executable>:$PATH> export PATH> > This does not appear to work.  Does anyone know how to do this?
Should be
PATH=/cygdrive/c/'Program Files'/'<program folder>'/:$PATHexport PATH
The program executable's name should not be part of the PATHenironment variable.
-- Weiqi Gao (¸ßΪÆæ)weiqigao AT gmail DOT comhttp://www.weiqigao.com/blog/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019