File paths redirected to MSYS directory

Nathan Rose
Mon Nov 29 09:44:00 GMT 2010

> You're probably invoking MSYS's versions of vi and make. You can check
> that with the which command. Ensure that you do have the Cygwin
> versions of those installed, and that the Cygwin bin directory comes
> before MSYS's in the Cygwin PATH. To avoid such confusion, you might
> want to remove MSYS's bin directory from the global Windows path,
> assuming that's where it came from.
> Andy

Thanks for your help. I have fixed the Windows path but Cygwin seems to 
be altering it when loading it in to its own $PATH environment variable. 
Compare below, my path as obtained from Windows cmd console and from 
Cygwin. Notice the line 'C:\cygwin\bin' in the first one (end of the second 
line) has been turned in to '/usr/bin' in the second one (end of the third 
line). Why would this be happening? Also, is it a problem that the first two 
entries in the Cygwin path are '/usr/...' rather than '/cygdrive/c/cygwin/usr/...' ? 

C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\Wbem;C:\Program Files\Novell\
ZENworks\;C:\Program Files\QuickTime\QTSystem\;C:\MinGW\bin;C:\cygwin\bin;C:\msy
s\1.0\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Novell\GroupWise;C:\
Program Files\Putty;C:\GTK\2.0\bin;C:\Program Files\SSH Communications Security\
SSH Secure Shell;Z:.;Y:.;

ygdrive/c/WINDOWS/SYSTEM32/Wbem:/cygdrive/c/Program Files/Novell/ZENworks/:/cygd
rive/c/Program Files/QuickTime/QTSystem/:/cygdrive/c/MinGW/bin:/usr/bin:/cygdriv
e/c/msys/1.0/bin:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Program F
iles/Novell/GroupWise:/cygdrive/c/Program Files/Putty:/cygdrive/c/GTK/2.0/bin:/c
ygdrive/c/Program Files/SSH Communications Security/SSH Secure Shell:Z:.:Y:.



Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list