Archive: Read the target of a shortcut


Read the target of a shortcut
Hi,
Is there a way to read the target of a shortcut? Basically, I want to retrieve the directory of the target of a shortcut.

for example, I can create shortcuts
CreateShortCut "$SMPROGRAMS\My Software\MyProgram\Run Program.lnk" "$INSTDIR\myProgram.exe" "" "$INSTDIR\icon.ICO"

I would like get the target of the link "Run Program.lnk".

TIA

K


Use this plugin:

http://nsis.sourceforge.net/ShellLink_plugin


Thanks! That helped!

K