delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/02/05:02:27

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 2 Oct 2008 11:01:44 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin-1.7: mv appends .exe extension to .bat and .com files
Message-ID: <20081002090144.GA23019@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <0MKr6C-1Kl4Ya1pOX-000Qp8 AT mx DOT kundenserver DOT de>
MIME-Version: 1.0
In-Reply-To: <0MKr6C-1Kl4Ya1pOX-000Qp8@mx.kundenserver.de>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Oct  1 09:27, Herb Maeder wrote:
> With a fresh install of cygwin-1.7 on a vanilla Vista system, I see that
> the 'mv' command appends a .exe extension to the destination file for any
> source files that have a .bat or .com extensions.
> 
> To reproduce:
>     
>    % mkdir foobar
>    % touch foo.bat
>    % mv foo.bat foobar
>    % ls foobar
>    foo.bat.exe
>    
> Same goes for .com files.  And if a directory is moved any .bat or .com
> files will be renamed to .bat.exe and .com.exe in the destination
> directory.  I see this with at least the cygwin-1.7.0-29 and and
> cygwin-1.7.0-30 dlls.
> 
> A cygwin-1.5 install on Vista does not add the .exe extension.
> 
> I believe that this should be easily reproducible.

It is.  Thanks for the report.  I'll look into this the next couple of
days.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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