Possible Duplicate:
Extract Icon from Windows .lnk (shortcut) file
For example, I have a Shortcut (.LNK) file that has C:\Foo\bar.ico as it's icon. How can I get the path of the icon (C:\Foo\bar.ico) when supplied with just the shortcut file in C#?
I tried using WshShortcut, but WshShortcut.IconLocation only returns a blank string if the icon is an external .ico file. I don't want the index of the icon, just the path of the .ico file.