This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: ln and mkshortcut inconsistent in handling of .exe extension
- From: Larry Hall <cygwin-lh at cygwin dot com>
- To: Matt Swift <swift at alum dot mit dot edu>, cygwin at cygwin dot com
- Date: Mon, 29 Sep 2003 16:20:23 -0400
- Subject: Re: ln and mkshortcut inconsistent in handling of .exe extension
- Reply-to: Cygwin List <cygwin at cygwin dot com>
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/