This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Utility to dereference Windows shortcuts?
- From: Tom Cyglist <thcyglist at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 11 Aug 2003 16:13:38 -0700 (PDT)
- Subject: Utility to dereference Windows shortcuts?
I understand that Windows shortcuts and symlinks are
different and the reasons why they are different.
However, I want to be able to process files pointed to
by Windows shortcuts using Cygwin utilities. In order
to be able to do this, I need a utility that will take
a Windows shortcut name, xxx.lnk, and return either a
Cygwin (preferred) or Windows path to the target of
the shortcut. I could then do something like:
cyg_utility `shortcut_deref win_shortcut.lnk`
Does this utility exist? If not, does anyone have
sufficient information on the Windows shortcut
structure to allow me to write one?
Thanks.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/