readshortcut app for cygutils

Charles Wilson cygwin@cwilson.fastmail.fm
Thu Sep 4 04:20:00 GMT 2003


Rob S.i.k.l.o.s. wrote:

> Hello,
> 
> As per http://www.cygwin.com/ml/cygwin/2003-08/msg00640.html, I have
> (almost) ready a program called "readshortcut", which reads info from a
> windows shortcut and outputs it in an easily parseable format.
> 
> e.g.
> 
> $ readshortcut ~/desktop/editplus.lnk
> c:\program files\editplus\editplus.exe
> 
> 
> As Igor suggessted in the above linked message, this should be added to
> cygutils as a complement to mkshortcut.
> 
> Can I get some agreement on this?

I'm willing to incorporate it into cygutils, if there are no objections 
from the list.

Have you read /usr/share/doc/cygutils-1.2.1/HOW-TO-CONTRIBUTE yet?

About the app itself: I think it should provide the result in either 
unix format (-u/--unix) or windows format (-w/--windows), without 
requiring cygpath.exe -- instead, use the cygwin functions 
cygwin_conv_to_posix_path() and cygwin_conv_to_win32_path().

--
Chuck




More information about the Cygwin-apps mailing list