Inconsistence on file operation when the name already exists with exe extension

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Mon Jul 9 15:45:00 GMT 2012


On Mon, Jul 09, 2012 at 05:23:13PM +0200, notstop wrote:
>You must be right in some points, but that is not the exact behavior of 
>windows command although you pretend it to be (the powershell has a 
>different behavior). In fact, I can independently operate file while 
>file.exe exists:
>
>copy file.exe file
>Now there are file and file.exe

Common email practice is to include the text of the email you are
responding to so that we can know who you are accusing of "pretending".

Nevertheless, FYI, powershell is not Cygwin and no one is saying that
the behavior you're seeing is mandated by Windows.  What you are seeing
is a Cygwin accommodation for the fact that .exe is a special extension.
Cygwin is not a new project.  Its handling of .exe has been hashed and
rehashed throughout the life of the project.  The current behavior is
the compromise that we've settled on.

So, what you are seeing is expected.  Continuing to argue without
familiarizing yourself with past discussions is not likely to expose
anything new.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list