Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.ms-windows.programmer.win32 > #8492
| 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-02 17:41 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <1097380$jca8$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: > Hello all, > > I'm trying to create relative shortcuts* (for use on a removable USB > harddisk) and can't seem to find out how it works. > > * the target of the link is relative to the location of the link itself. > > I'm programming against the IShellLink interface ( > https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/nn-shobjidl_core-ishelllinka) , > which suggests a relative path is possible (SetRelativePath), but I'm not > able to get it to work or find code explaining how to do it. > > 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 ... :-| > > Question: does someone have an example to what I'm supposed to do to make it > happen ? Not really, but as a workaround: use a .bat instead: cd \myPath\ start myapp.exe exit 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