Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Sat, 25 Aug 2001 16:09:44 -0700
From: nasser abbasi <nabbasi@pacbell.net>
Subject: Re: Problems with path resolution
To: cygwin@cygwin.com
Message-id: <002401c12dbb$07403ff0$1eea65d8@me>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2462.0000
X-Mailer: Microsoft Outlook Express 6.00.2462.0000
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7bit
X-Priority: 3
X-MSMail-priority: Normal
References: 
 <D59EA43E31578445B543D05854E2957353B263@mn65-exuser1.htc.honeywell.com>
 <001d01c12d2f$5c7b93c0$1eea65d8@me> <20010825141420.L21709@redhat.com>


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

