This is the mail archive of the
mailing list for the Cygwin project.
Re: Problems with path resolution
On Fri, Aug 24, 2001 at 11:29:57PM -0700, nasser abbasi wrote:
>I am also seeing some strange path problems with 1.3.2
>ls -l /cygdrive/f/foo
>and it lists it.
>and I get an error 'No such file or directory'
>foo is some binary file.
I assume that foo has a .exe extension. ls -l will tack on a .exe to a file name if
it can't find it without the extension. ls is probably the only cygwin utility that
will do that, with the possible exception of 'cp' (depends on the version of cp and
there are bugs in all versions).
So, the short answer is 'always add the .exe extension'.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html