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: Date: Tue, 5 Oct 2004 14:24:02 +0800 From: "Edward L. Fox" Reply-To: "Edward L. Fox" To: cygwin AT cygwin DOT com Subject: Re: How to prepend a directory to the PATH to accommodate CVSNT? In-Reply-To: <200410042311468.SM01220@fasolt> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041005035646 DOT C44D285135 AT pessard DOT research DOT canon DOT com DOT au> <200410042311468 DOT SM01220 AT fasolt> X-IsSubscribed: yes Hi, Siegfried: In my opinion, I don't think it a good idea to use native Windows program in cygwin. Yes, you can remove your cygwin version of cvs.exe in /usr/bin and create a symbolic link there, pointing to /cygdrive/.../cvsnt/bin/cvs.exe. And it in fact will run instead of cygwin version. But the native Windows program will not recognize the strange path offered by cygwin's shell. If you are always using relative path, I think the native Windows program will work as well. Or you can write a simple wrapper to translate the cygwin path into native Windows path. Who knows? Who cares? Good luck! Edward L. Fox 2004-10-05 From: edyfox AT gmail DOT com On Mon, 4 Oct 2004 23:12:05 -0600, Siegfried Heintze wrote: > I notice that Cygwin manipulates the path by prepending " > /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:" to the windows PATH > environment variable. > > This is a problem for me because I'm using CVSNT and I need my cvs client > to be /cygdrive/c/Program Files/cvsnt/bin which it never sees because it > finds cvs.exe in /usr/bin instead and this is not the cvsnt client! > > How do I prepend /cygdrive/c/Program Files/cvsnt/bin to the path? > > Thanks > Siegfried > > -- > 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/ > > -- 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/