delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/23/02:55:22

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: <42E1EABD.5AB62B86@dessent.net>
Date: Fri, 22 Jul 2005 23:59:09 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Re: Synchronizing Windows & Cygwin Paths
References: <81cec738050722205620ba727e AT mail DOT gmail DOT com>
X-Spam-Report: -5.9/5.0 ---- Start SpamAssassin results * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.0 AWL AWL: From: address is in the auto white-list ---- End SpamAssassin results
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Rex Eastbourne wrote:

> Is there a way to synchronize the Cygwin $PATH with the Windows Path,
> so that I can run Windows applications from within my Bash shell (i.e.
> typing "mathematica" will open the corresponding file, which is in
> Program Files somewhere)?

There is only one PATH environment variable.  Cygwin translates it
between Windows form and posix form depending on what kind of program
it's invoking.  If you add a directory to your Windows PATH it should be
visible when you start a bash prompt because that inherits whatever PATH
was set to (and adds /usr/bin etc. to it.)  If this is not happening for
you then you will need to provide more details as to your setup and what
exactly is going on (i.e. the commands you type, what happens, what you
expect to happen.)

Brian

--
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/

- Raw text -


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