delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/09/10:08:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTikzCzig2SyG_J1dtGPDvDVCLYZyZM_TBj9fxNgm@mail.gmail.com>
References: <OFF145E76E DOT EB43EC60-ON8525773C DOT 005639A6-8525773C DOT 005650D6 AT lnotes-gw DOT ent DOT nwie DOT net> <AANLkTil0pNuO4a9n2Ln5H3Q0cJRdQER7NlgSTg2a9EN2 AT mail DOT gmail DOT com> <OFCB72527D DOT F8E42EE2-ON8525773C DOT 0058E3E2-8525773C DOT 0059F451 AT lnotes-gw DOT ent DOT nwie DOT net> <1276042636 DOT 1651 DOT 9 DOT camel AT erebor> <AANLkTil6fa2-stL9f3hd-Dg-X6FjzVKLeG56lPoI7OYp AT mail DOT gmail DOT com> <20100609044034 DOT GB9305 AT ednor DOT casa DOT cgf DOT cx> <AANLkTikJ9U3U49HlT9Ldm6aueX3z22gN_6L95P-E2Pwz AT mail DOT gmail DOT com> <AANLkTinrgelZ5PcMhWjzehe8sa-cjkGoiFI8WpLGNh84 AT mail DOT gmail DOT com> <AANLkTikzCzig2SyG_J1dtGPDvDVCLYZyZM_TBj9fxNgm AT mail DOT gmail DOT com>
Date: Wed, 9 Jun 2010 15:08:34 +0100
Message-ID: <AANLkTilSrEgdrVMMMZQLZrnU1wKi-WrQt8H4_JX3B-w7@mail.gmail.com>
Subject: Re: 'cp' utility bug when <dest-name>.exe file exist.
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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 9 June 2010 14:50, Julio Costa wrote:
>>>> [Running in cmd.exe]
>>> The point is, that *is not* a reason, because it is easily fixed by
>>> "set PATHEXE=%PATHEXE%:.".
>>
>> That's a nice one. I certainly didn't know about that.
>>
>> Explorer still needs the .exe though.
>
> Nope also.
> Try this at a cmd.exe:
>
> D:\ETC\Tools>assoc .=MyDefaultLauncher
> .=MyDefaultLauncher
>
> D:\ETC\Tools>ftype MyDefaultLauncher=%COMSPEC% /C "%1"
> MyDefaultLauncher=C:\WINDOWS\system32\cmd.exe /C "%1"
>
> D:\ETC\Tools>regtool set "/user/Software/Microsoft/Command
> Processor/AutoRun" 'set PATHEXT=%PATHEXT%;.'

Or just:

assoc .=exefile

Hmm, interesting.


>> More importantly, a lot of build scripts likely depend on the .exe being added automatically.
>
> Hm. Maybe they shouldn't.

Yeah, but "shouldn't" never stopped anyone, hence any transition would
certainly not be pain-free.

Andy

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

- Raw text -


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