the .exe extension

Nellis, Kenneth Kenneth.Nellis@acs-inc.com
Fri Mar 12 15:17:00 GMT 2010


I wonder if there is more explanation available about how Cygwin
handles the .exe extension than I found in the User's Guide.

http://cygwin.com/cygwin-ug-net/

I'm running 1.7.1.
In particular, I find it odd that moving a binary executable
toggles whether or not it has the .exe extension. Consider:

$ ls -l
total 8
-rwxr-x--- 1 knellis knellis 4096 2010-03-12 09:08 a.exe
-rwxr-x--- 1 knellis knellis 4096 2010-03-12 09:37 b
$ mv a c
$ mv b d
$ ls -l
total 8
-rwxr-x--- 1 knellis knellis 4096 2010-03-12 09:08 c
-rwxr-x--- 1 knellis knellis 4096 2010-03-12 09:37 d.exe
$

I have a mixture of binaries with and without the .exe extension
and wonder if the mixture will somehow bite me one day.

--Ken Nellis


More information about the Cygwin mailing list