Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <42ADAFC9.9090401@scytek.de>
Date: Mon, 13 Jun 2005 12:09:45 -0400
From: Volker Quetschke <quetschke@scytek.de>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: tcsh doesn't find commands that end with .exe
References: <42ADA78B.9040300@scytek.de> <20050613160117.GC3522@calimero.vinschen.de>
In-Reply-To: <20050613160117.GC3522@calimero.vinschen.de>
Content-Type: multipart/signed; micalg=pgp-sha1;  protocol="application/pgp-signature";  boundary="------------enig61EFB96BD40F2BDD64EB3817"
X-IsSubscribed: yes

--------------enig61EFB96BD40F2BDD64EB3817
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Corinna Vinschen wrote:
>>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
>>/usr/bin/whoami
>>[quetschke@Macros ~]$ which whoami.exe
>>whoami.exe: Command not found.
>>[quetschke@Macros ~]$ whoami
>>quetschke
>>[quetschke@Macros ~]$ whoami.exe
>>whoami.exe: Command not found.
>>[quetschke@Macros ~]$ /bin/which whoami.exe
>>/usr/bin/whoami.exe
>
> That's by design.
You mean the grand design that leads earth and all its inhabitants
to eternal bliss?

And if so, it seems to have a flaw:

[quetschke@Macros ~]$ which cmd.exe
/cygdrive/c/WINDOWS/system32/cmd.exe
[quetschke@Macros ~]$ which cmd
/cygdrive/c/WINDOWS/system32/cmd

Care to elaborate where the difference comes from?

Why should I not be allowed to start a program with it's
real name? And why does it work sometimes?

Volker

--
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D

--------------enig61EFB96BD40F2BDD64EB3817
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCra/MPTXJup+KeF0RAva0AJ4h27CLbwsQJQSVGGO808WWWYXddACgl7T4
UStouWlpbtcDgMiLqUKRZFw=
=B8jR
-----END PGP SIGNATURE-----

--------------enig61EFB96BD40F2BDD64EB3817--
