X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.4 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: References: Date: Sun, 9 Sep 2012 13:30:09 -0400 Message-ID: Subject: Re: (core dumped) mkshortcut 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 On Sun, Sep 9, 2012 at 12:07 AM, Robert Mark wrote: > Hi All, > > As per a previous message > (http://cygwin.com/ml/cygwin/2012-05/msg00215.html) I am still finding > that mkshortcut causes core dumps (Windows 7, 64 bit). I have tried a > few different options: -P or -D still cause dumps. I have checked > permissions and they are all ok. Some folders do cause the error, some > don't. > > mkshortcut -n "I for cygwin bin" /D/cyghome/bin > /home/RobertMarkBram/bin/createWindowsShortcut.sh: line 160: 8128 > Aborted (core dumped) mkshortcut -n "$shortcutName" > "$target" I'm going to guess but have no fact to back it that the reason is due to the fact you're executing in a 32bit environment and the shortcut the tool makes needs a 64bit enviroment. This may only be resolved by a 64bit version of Cygwin. > > I am using an alternative as suggested: > http://cygwin.com/ml/cygwin/2012-05/msg00232.html > > It works OK, but isn't nearly as useful as mkshortcut: lnk files > handle rather differently than url files. You can still automate it. You just have to create a text file instead of a binary one. -- 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