Groups | Search | Server Info | Login | Register
Groups > comp.os.ms-windows.programmer.win32 > #8508
| From | Schugo <schugo@schugo.de> |
|---|---|
| Newsgroups | comp.os.ms-windows.programmer.win32, alt.comp.os.windows-xp, alt.windows7.general |
| Subject | Re: How to create a relative shortcut ? |
| Date | 2025-09-03 21:54 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <109a6ec$1c0ef$1@dont-email.me> (permalink) |
| References | <1096dro$dnbv$1@dont-email.me> |
Cross-posted to 3 groups.
On 02.09.2025 11:36, R.Wieser wrote: > ... > I did find this : > https://devblogs.microsoft.com/oldnewthing/20171019-00/?p=97247 , but I'm > not even sure if that is what I'm after ... :-| however, there he claims the relative path is already in any .lnk, but not used, because LINKINFO and LINKTRACK is used first. "Normal shortcuts already remember the target’s location relative to the shortcut itself. However, the relative path is not used until other avenues have been exhausted. To give the relative path more prominence, let’s disable the other avenues." so you have to add these 2 flags SLDF_FORCE_NO_LINKINFO SLDF_FORCE_NO_LINKTRACK with IShellLinkDataList::SetFlags https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-ishelllinkdatalist-setflags ciao...
Back to comp.os.ms-windows.programmer.win32 | Previous | Next — Previous in thread | Next in thread | Find similar
How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-02 11:36 +0200
Re: How to create a relative shortcut ? Schugo <schugo@schugo.de> - 2025-09-02 17:41 +0200
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-02 18:39 +0200
Re: How to create a relative shortcut ? Schugo <schugo@schugo.de> - 2025-09-02 17:50 +0200
Re: How to create a relative shortcut ? "J. P. Gilliver" <G6JPG@255soft.uk> - 2025-09-03 00:34 +0100
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-03 08:15 +0200
Re: How to create a relative shortcut ? Paul <nospam@needed.invalid> - 2025-09-03 02:21 -0400
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-03 09:47 +0200
Re: How to create a relative shortcut ? Paul <nospam@needed.invalid> - 2025-09-03 09:17 -0400
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-03 16:35 +0200
Re: How to create a relative shortcut ? Schugo <schugo@schugo.de> - 2025-09-03 16:49 +0200
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-03 19:19 +0200
Re: How to create a relative shortcut ? Schugo <schugo@schugo.de> - 2025-09-03 21:32 +0200
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-04 07:59 +0200
Re: How to create a relative shortcut ? "J. P. Gilliver" <G6JPG@255soft.uk> - 2025-09-04 02:04 +0100
Re: How to create a relative shortcut ? "J. P. Gilliver" <G6JPG@255soft.uk> - 2025-09-03 09:02 +0100
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-03 13:26 +0200
Re: How to create a relative shortcut ? Jakob Bohm <egenagwemdimtapsar@jbohm.dk> - 2025-09-04 09:17 +0200
Re: How to create a relative shortcut ? malxau <address@is.invalid> - 2026-03-22 17:50 +0000
Re: How to create a relative shortcut ? Udo Steinbach <trashcan@udoline.de> - 2025-09-03 20:38 +0200
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-03 21:22 +0200
Re: How to create a relative shortcut ? Schugo <schugo@schugo.de> - 2025-09-03 22:52 +0200
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-04 09:02 +0200
Re: How to create a relative shortcut ? Schugo <schugo@schugo.de> - 2025-09-04 15:39 +0200
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-04 16:11 +0200
Re: How to create a relative shortcut ? Schugo <schugo@schugo.de> - 2025-09-04 16:26 +0200
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-04 17:32 +0200
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-05 09:34 +0200
Re: How to create a relative shortcut ? Schugo <schugo@schugo.de> - 2025-09-05 15:54 +0200
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-05 17:05 +0200
Re: How to create a relative shortcut ? Schugo <schugo@schugo.de> - 2025-09-05 17:31 +0200
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-05 18:09 +0200
Re: How to create a relative shortcut ? Schugo <schugo@schugo.de> - 2025-09-04 15:57 +0200
Re: How to create a relative shortcut ? JJ <jj4public@outlook.com> - 2025-09-04 03:03 +0700
Re: How to create a relative shortcut ? Schugo <schugo@schugo.de> - 2025-09-03 21:54 +0200
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-04 08:22 +0200
Re: How to create a relative shortcut ? Jakob Bohm <egenagwemdimtapsar@jbohm.dk> - 2025-09-04 10:19 +0200
Re: How to create a relative shortcut ? JJ <jj4public@outlook.com> - 2025-09-04 03:01 +0700
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-04 08:50 +0200
Re: How to create a relative shortcut ? Zaidy036 <Zaidy036@air.isp.spam> - 2025-09-03 22:00 -0400
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-04 09:16 +0200
Re: How to create a relative shortcut ? "R.Wieser" <address@is.invalid> - 2025-09-05 21:05 +0200
Re: How to create a relative shortcut ? Schugo <schugo@schugo.de> - 2025-09-06 18:58 +0200
csiph-web