This is the mail archive of the
mailing list for the Cygwin project.
Re: .com & other executable filename extensions
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: "Lee D. Rothstein" <lee at veritech dot com>
- Cc: cygwin at cygwin dot com
- Date: Wed, 12 Mar 2003 19:06:17 -0500 (EST)
- Subject: Re: .com & other executable filename extensions
- Reply-to: cygwin at cygwin dot com
On Wed, 12 Mar 2003, Lee D. Rothstein wrote:
> Anybody know why under both "cygwin.bat" & 'cmd.exe', I must explicitly
> type the '.com' extension in order to get a '.com' file to execute.
> I've tried adding the following line to
> set PATHEXT=%PATHEXT%;.sf;.ksf;.cmd;.com;.exe;.bat;.awk;.pl;.py
> No help.
> If this is covered anywhere in the documentation, it's got me fooled.
FYI, bash (which is what I assume is invoked by cygwin.bat) doesn't honor
PATHEXT. Cygwin has a special feature that looks for a .exe (and only
.exe, .bat won't be found either) if the file with null extension does not
I'm not sure about cmd.exe, probably depends on your version of the OS (or
maybe MS deprecated it altogether).
|\ _,,,---,,_ pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`' -. ;-;;,_ igor at watson dot ibm dot com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html