This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

return value of mkshortcut on Windows 7


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

Attachment: cygcheck.out
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]