This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems with path resolution



----- Original Message ----- 
 > >I say 
> >
> >ls -l  /cygdrive/f/foo
> >
> >and it lists it.
> >
> >I say
> >
> >file /cygdrive/f/foo
> >
> >and I get an error 'No such file or directory'
> >
> >foo is some binary file.
>
 

> 
> So, the short answer is 'always add the .exe extension'.
> 

Yup, that was it.  thanks. 'ls' and 'which' for example will find the file without adding '.exe', but the 'file' 
and 'nm' and few other commands will not. 

Not consistant.

A very small price to pay for the benifit of using Unix under windows I guess :)

Nasser


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]