Re: How to create a relative shortcut ?
Schugo <[email protected]> Thu, 4 Sep 2025 15:39:08 +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]> |
On 04.09.2025 09:02, R.Wieser wrote: > Schugo, > >> A solution without programming: >> >> https://optimumx.com/download/Shortcut.zip >> >> Z: is a USB drive >> make a link to Z:\test\test2\dxcpl.exe > > That is a solution for the current computer. > > The idea is to have the shortcut on an USB (thumb)drive, and have it work > even when its put into another 'puter (and getting another drive letter ). > ... It works! The magic happens after "File not found", when you point it to the file, the .lnk is updated with realtive paths. I checked in a hex editor. And I also checked, it works with a different drive letter. ciao..