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 Message-ID: <43034358.1070304@familiehaase.de> Date: Wed, 17 Aug 2005 16:02:00 +0200 From: "Gerrit P. Haase" 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 , cygwin Subject: Re: Cant add to path References: In-Reply-To: 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/