Re: How to create a relative shortcut ?
"R.Wieser" <[email protected]> Wed, 3 Sep 2025 09:47:35 +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]> |
Paul, > A shortcut is designed to be copied or moved anywhere. And, as it looks now, their *only* goal. I can imagine using a full path as the default, but ignoring relative paths is just a "it works for us" short-sighteness. ... unless you have a good reason why relative paths would not be possible ? > If the Original file is moved (somewhere), you are required to create > a new Shortcut (new absolute path). Nope. It will try to find the target itself, but gives you the option to browse for it. I could easily do without that behaviour (its search method is opaque) and just get an "target has gone" error. Have not seen any configuration for that though. > If you want a file to appear in two places (on the same partition), > then mklink or junction.exe might work. Hard links do not work on FAT32 (thumb)drives. And neither program exists on my OS (XPsp3). > but when the program "works out where it is", as some programs > do, it is going to find that it is not located in the portable > folder where all the DLLs are located. :-) Pros and cons. They have to be weighted. > Right now, the betting money is on a shortcut with an absolute > path inside it. Not usable on a removable (thumb)drive I'm afraid. ... hence my (subject-line) question. Regards, Rudy Wieser