Hello,
I wondered how could I have the target file of a Shortcut: I tried to open an *.LNK file but I don't know the strucure so ... :(
Posted on 2002-04-30 05:17:59 by EvilShade
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_programming/shortcuts/shortcut.asp

You can't expect the shortcut format to stay the same accross all Windows platforms, so I would advise using the shell interface, and that means you're going to have to use COM. ;)
Look at the section under "Resolving a shortcut." There's some example code there.
Good luck.
Posted on 2002-04-30 05:32:09 by iblis
Here is the LNK structure format

http://www.wotsit.org/search.asp?page=3&s=windows
Posted on 2002-04-30 10:54:24 by yoursguideline
Thanks! :)
Posted on 2002-04-30 16:04:52 by EvilShade