delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/29/16:26:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <5.1.0.14.0.20030929161708.028d6fe0@127.0.0.1>
X-Sender:
Date: Mon, 29 Sep 2003 16:20:23 -0400
To: Matt Swift <swift AT alum DOT mit DOT edu>, cygwin AT cygwin DOT com
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: ln and mkshortcut inconsistent in handling of .exe
extension
In-Reply-To: <m2zngnv4h0.fsf@beth.swift.xxx>
Mime-Version: 1.0

At 02:23 PM 9/29/2003, Matt Swift you wrote:
>  2) The files "symlink-to-base" "symlink-to-base.exe" should have the
>     .exe extension silently added to the Windows shortcut target: at
>     present, the files are not valid Windows shortcuts (they appear
>     to Windows Explorer as a shortcut, but have an empty "Target"
>     which can not be altered in the usual way; the Comment field is
>     correct).  This behavior would match `mkshortcut''s, which adds
>     the .exe extension to the Target when it is not supplied on the
>     command-line (what appeared on the command-line appears verbatim
>     in the Comment field, however).


'ln' and 'mkshortcut' have different behavior for a reason.  See 
<http://cygwin.com/cygwin-ug-net/using-effectively.html#AEN1516>.
The difference is why 'mkshortcut' exists.  Otherwise, we'd just have
'ln' (which is all we had for quite some time until the need for 
different behavior was realized).



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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