PDA

View Full Version : reading .lnk file


anupamsr
03-25-04, 12:33 PM
Hi,

I am trying to extract to read the .lnk file and extract the link to which it refers from it. But i have no idea how to extract the link from .lnk(windows shortcut file). Ofcourse opening it in some editor doesn't help.

------------------------------

Get it right!

anupamsr
03-25-04, 12:35 PM
sorry for double signature.

Shane
03-25-04, 02:07 PM
sorry for double signature.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_programming/shortcuts/shortcut.asp

Look at the "Resolving a Shortcut" example.