return value of mkshortcut on Windows 7

David Byron dbyron@dbyron.com
Wed Mar 10 22:30:00 GMT 2010


mkshortcut is returning 8 when I expect it to return 0.  This only happens
to me on Windows 7.  It returns 0 on XP.  Here's what I do.

$ rm -rf a
$ mkdir a
$ mkshortcut -n a/b a

$ echo $?
8

$ file a/b.lnk
a/b.lnk: MS Windows shortcut

I'd love a hand getting mkshortcut to return 0 in this case.

Thanks much.

-DB

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 45633 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100310/aead72c8/attachment.obj>
-------------- next part --------------
--
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


More information about the Cygwin mailing list