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: Subject: Re: mkshortcut seems to not work correctly recently... From: Earnie Boyd To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit 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. [InternetShortcut] URL=file:///c:/cygwin/bin/bar.exe IconIndex=0 IconFile=file:///c:/cygwin/Cygwin.ico HotKey=0 IDList= -- 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