Hi,
I need a way to get the full path from a windows shortcut (.lnk) file. I tried with opening the file as CFile and with ReadString but I think it's coded. Please help me, I realy need this.
Thanks,
Nicolas
Printable View
Hi,
I need a way to get the full path from a windows shortcut (.lnk) file. I tried with opening the file as CFile and with ReadString but I think it's coded. Please help me, I realy need this.
Thanks,
Nicolas
There is an article in the "Shell Programming" section, entitled
"Getting Shortcuts (.lnk) - Target and Arguments". I think that might be
what you are looking for.
Daniel.
Use the IShellLink interface. It has various methods for dealing with .lnk files