Click to See Complete Forum and Search --> : Shortcut problem


Nicolas Van Eenaeme
March 31st, 1999, 10:40 AM
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

Daniel Levine
March 31st, 1999, 12:06 PM
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.

Hardeep Singh
April 1st, 1999, 01:12 PM
Use the IShellLink interface. It has various methods for dealing with .lnk files