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