On 8/26/2016 10:58 AM, Nellis, Kenneth wrote:
> $ cmd /c DIR $(cygpath -w hello)

But
$ cmd /c $(cygpath -w hello)
will execute hello.exe

The fact that you get file not found error tells me that cmd is doing
what it does.  The purpose of the .exe magic is for executing the file
from the Cygwin shell.  My opinion is that we shouldn't rely on the .exe
magic; there are hidden dangers and some use those dangers to a benefit.

-- 
cyg Simple

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to