Re: How to create a relative shortcut ?
"R.Wieser" <[email protected]> Thu, 4 Sep 2025 07:59:53 +0200
| Newsgroups | comp.os.ms-windows.programmer.win32,alt.comp.os.windows-xp,alt.windows7.general |
|---|---|
| Organization | A noiseless patient Spider |
| Message-ID | <[email protected]> |
Schugo, > I haven't found any code example to add the StringData > structure. Thats part of it. The other one is the IDList. I'm not at all sure what will happen when they mismatch. > Looks like you have to create the .lnk file by yourself. ... And hope that, when I put a relative path to the target in there, its resolved correctly. Mind you, there is no need for a shortcut to do such a resolving, as it's supposed to have full paths. Yes, I've been thinking about generating the shortcut datafile myself too. :-) I've already sought for and found some file-format descriptions. No indication which version of Windows they are valid for though. :-( Regards, Rudy Wieser