Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal References: <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/