Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <43034358.1070304@familiehaase.de>
Date: Wed, 17 Aug 2005 16:02:00 +0200
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728
MIME-Version: 1.0
To: David <DavidGinzburg@gmail.com>, cygwin <cygwin@cygwin.com>
Subject: Re: Cant add to path
References: <loom.20050817T143252-949@post.gmane.org>
In-Reply-To: <loom.20050817T143252-949@post.gmane.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

David wrote:

> Hi,
> I installed cygwin_NT-5.1.
> Built a project needed.
> I tried to add to my PATH a few 
> paths but i could not locate my .bashrc
> or bash_profile like
> on my linux machine.
> I read some DOCs but could not find the
> files on my ~ dir so tried to 
> edit \etc\skel\.bash_profile or \etc\skel\.bashrc,
> but there was no effect on $PATH 

Just copy the files form /etc/skel to your home dir and edit there.
The skeleton files are what the name says, they don't effect your
environment as long as they are not in your home directory.

> so I exported from the command line
> and my PATH looks like this:
> echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
> :/cygdrive/c/Program Files/Common
> Files/Borland Shared/BDE/:/cygdrive/c/Program
> Files/Borland/BDS/3.0/Bin:/cygdrive/c/WINDOWS/system32
> :/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem
> :/cygdrive/c/Program
> Files/Rational/common
> :/cygdrive/c/Program Files/Microsoft SQLServer/80/Tools/BINN
> :/cygdrive/c/Documents and Settings/david/MyDocuments/Borland Studio Projects/Bpl
> :/srilm/bin:srilm/bin/cygwin:/MorphTagger
> 
> 
> Still whenever i try to invoke an execuatble 
> from /srilm/bin (/srilm/bin is one
> of my additions to PATH)
> I get a command not found messege. Same goes for which command.

PATH with spaces is bad.  Try to mount the directories needed
and add the mount to the path then.


HTH,
Gerrit
-- 
=^..^=

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

