tcsh doesn't find commands that end with .exe

Volker Quetschke
Mon Jun 13 15:59:00 GMT 2005

I have the following problem with tcsh:

tcsh doesn't find the program if the .exe extension is given.  whoami is
only an example, this also happens to other programs.

[quetschke@Macros ~]$ which whoami
[quetschke@Macros ~]$ which whoami.exe
whoami.exe: Command not found.
[quetschke@Macros ~]$ whoami
[quetschke@Macros ~]$ whoami.exe
whoami.exe: Command not found.
[quetschke@Macros ~]$ /bin/which whoami.exe


PGP/GPG key  (ID: 0x9F8A785D)  available  from
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Cygwin mailing list