Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: Problems with .exe files Date: Wed, 15 Oct 2003 19:02:18 -0700 Lines: 29 Message-ID: References: <000201c3937f$a3fd6c10$5b08c69b AT irsl DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en In-Reply-To: <000201c3937f$a3fd6c10$5b08c69b@irsl.org> Kris Thielemans wrote: >Hi > >Since upgrading cygwin a few days ago, I can no longer cp .exe files if I don't use the .exe suffix. I can reproduce this as follows: > >$ mkdir a >$ touch t.exe >$ cp t a >cp: `t' and `a/t' are the same file >$ cp t somenonexistingfilename >cp: 't' and 'somenonexistingfilename' are the same file > >I also have a problem with rm (and maybe others) > >$ rm t >rm: cannot unlink `t': No such file or directory > > >Note that as soon as I add the .exe suffix, everthing works fine >$ cp t.exe a > Why would you think that you can cp t as just "t" but you'd have to touch "t.exe"? The real name of the the file is t.exe, for touch, cp, rm, etc. The only time that just "t" suffices is for exec. -- Do witches run spell checkers? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/