This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: PATH: getting the order right
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: fergus at bonhard dot uklinux dot net
- Cc: cygwin at cygwin dot com
- Date: Tue, 28 Oct 2003 11:11:07 -0500 (EST)
- Subject: Re: PATH: getting the order right
- References: <000a01c39d6c$47f8c3a0$580210ac@tcgp.dundee.ac.uk>
- Reply-to: cygwin at cygwin dot com
On Tue, 28 Oct 2003 fergus@bonhard.uklinux.net wrote:
> I like putting c:\;c:\Cygwin\bin;c:\Cygwin\usr\X11R6\bin before
> c:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem in my Windows path.
> For the first tine I am using a computer that is administered by somebody
> else (I hate this more than I can say) and in My Computer -> Properties ->
> Advanced -> Environment variables I find the System-defined path (what I
> want to come 2nd) necessarly precedes the User-defined path. Can anybody
> help me fix this ordering? Thank you. Fergus
Either use bash or create a batch file and set the PATH there... E.g.,
CygCmd.bat:
@echo off
set PATH=c:\;c:\Cygwin\bin;c:\Cygwin\usr\X11R6\bin;%PATH%
cd %HOMEDRIVE%%HOMEPATH%
%SystemRoot%\system32\cmd.exe
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
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/