We help IT Professionals succeed at work.

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

henrybaxter
henrybaxter asked
on
534 Views
Last Modified: 2013-12-03
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
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2012
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
jkr
CERTIFIED EXPERT
Top Expert 2012

Commented:
BTW, you'll find an unofficial documentation of the file format at http://www.wotsit.org/download.asp?f=shortcut&sc=269805009

Author

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

Author

Commented:
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)
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.