Link to home
Start Free TrialLog in
Avatar of henrybaxter
henrybaxter

asked on

Get Link (.lnk) or Shortcut target *without* COM

I'm looking for a way to determine the properties, particularly the target, of a shortcut or lnk file.

I want to do this without using COM at all. My best lead so far is SHGetNewLinkInfo, but this seems to not do what I want, and I can't find any sibling functions.

Thanks for your time
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
BTW, you'll find an unofficial documentation of the file format at http://www.wotsit.org/download.asp?f=shortcut&sc=269805009
Avatar of henrybaxter
henrybaxter

ASKER

Thanks for your very detailed response. I was hoping to avoid COM for a couple reasons, but it looks like that's the way to go regardless!

Thanks again
Not a way to go without COM, but a very detailed and accurate response. The link to the lnk file format was instructive (but ultimately not for me)