This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

tcsh and .EXE files in path


Hi all,
	I'm having some strange behaviour with tcsh.  My path is set to this:

/homes/bin /usr/local/bin /usr/bin /bin /cygdrive/c/WINNT/system32 
/cygdrive/c/WINNT /cygdrive/c/WINNT/System32/Wbem 
/cygdrive/c/Oracle/Ora81/bin /cygdrive/c/PROGRA~1/Oracle/jre/1.1.7/bin 
/usr/DevStudio/SharedIDE/bin/ide /usr/DevStudio/SharedIDE/bin 
/usr/DevStudio/VC/bin

	I get the following undesirable behaviour where I can't run a program 
called NMAKE.EXE in /usr/DevStudio/VC/bin without typing the full 
"NMAKE.EXE" name:

>nmake
nmake: Command not found.
>nmake.exe
nmake.exe: Command not found.
>NMAKE
NMAKE: Command not found.
>NMAKE.EXE

Microsoft (R) Program Maintenance Utility   Version 1.62.7022

	If I get rid of some of the path elements:

>set path=($path[1-6] $path[12])
>rehash
>nmake

Microsoft (R) Program Maintenance Utility   Version 1.62.7022

	It works.  If I restore my original path and get rid of the elements I 
didn't remove the first time:

>set path=($path[7-11] $path[12])
>rehash
>nmake

Microsoft (R) Program Maintenance Utility   Version 1.62.7022

	It also works.  So it looks like it's related to the number of elements in 
the path (or the number of binaries on the path), rather than any particular 
entry in the path.

	Is tcsh adding entries for the "NMAKE.EXE" version of the program name, and 
then not adding the further entries ("NMAKE", "nmake.exe" and "nmake") 
because it's run out of memory or something?  Or is there something else 
here I'm missing?

	I'm runing "CYGWIN_NT-5.0 DOSHEA-W2K 1.1.8(0.34/3/2) 2001-01-31 10:08 i686 
unknown" with tcsh 6.10.00-3.

Regards,
David
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]