Problems with path resolution

nasser abbasi nabbasi@pacbell.net
Sat Aug 25 16:07:00 GMT 2001


----- 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/



More information about the Cygwin mailing list