delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/11/08:39:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <0FA79168BC8F44DA8FCC05794C30A78D@d40>
References: <0FA79168BC8F44DA8FCC05794C30A78D AT d40>
Date: Fri, 11 May 2012 08:38:38 -0400
Message-ID: <CA+sc5mm_gLy7RBMc8b4wMd_1Bh9EwgkmzL2r6iq7x7Kt6hYMgA@mail.gmail.com>
Subject: Re: mkshortcut seems to not work correctly recently...
From: Earnie Boyd <earnie AT users DOT sourceforge DOT net>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q4BCd1W6022405

On Thu, May 10, 2012 at 8:06 PM, John Refling wrote:
>
> It seems that mkshortcut is failing as of the last few weeks (when I did an
> upgrade to latest Cygwin).  Upgrade as of today shows the same problems.  I
> have scripts that use mkshortcut that have not changed in a long time, which
> worked before, and now do not.

This doesn't answer your question but gives you another method.  I
create shortcuts using a text file with a .url extension.  This is an
INI style file that looks similar to the following and creates an
internet shortcut but using a file.  This provides me a method to edit
the file with ViM if I need to.

<file name="foo.url">
[InternetShortcut]
URL=file:///c:/cygwin/bin/bar.exe
IconIndex=0
IconFile=file:///c:/cygwin/Cygwin.ico
HotKey=0
IDList=
</file>

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

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