cygwin-1.7: mv appends .exe extension to .bat and .com files

Herb Maeder maeder-cygml@maeder.org
Wed Oct 1 16:28:00 GMT 2008


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.

Herb.

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



More information about the Cygwin mailing list