delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/25/19:07:44

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 25 Aug 2001 16:09:44 -0700
From: nasser abbasi <nabbasi AT pacbell DOT net>
Subject: Re: Problems with path resolution
To: cygwin AT cygwin DOT 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
X-Priority: 3
X-MSMail-priority: Normal
References:
<D59EA43E31578445B543D05854E2957353B263 AT mn65-exuser1 DOT htc DOT honeywell DOT com>
<001d01c12d2f$5c7b93c0$1eea65d8 AT me> <20010825141420 DOT L21709 AT redhat DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019