X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject:  Re: cygwin-1.7: mv appends .exe extension to .bat and .com files
Date:  Wed, 1 Oct 2008 21:02:21 +0200
Lines: 28
Message-ID: <gc0hg3$3s0$1@ger.gmane.org>
References:  <30013.5407982909$1222878928@news.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset="utf-8"
Content-Transfer-Encoding:  7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

* Herb Maeder (Wed, 01 Oct 2008 09:27:25 -0700)
> 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.  But if not, I can
> provide more details.

I can confirm that but I'm not so sure it is mv itself. I've seen these 
kind of files on my iPod (where I rsync to from my USB drive) so I think 
it might be the cygwin1.dll itself...

Thorsten


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

