Re: How to create a relative shortcut ?

"R.Wieser" <[email protected]> Fri, 5 Sep 2025 17:05:54 +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]>
Shugo,

> But what again is your exact problem, if it works on changed
> drive letters and when moved to a different drive even deep
> down in a directory?

Assuming you are talking about a standard shortcut, it doesn't work as long 
as the origional target is still present (read : the subtree is copied).

> I haven't tested it, but I'm 99% sure that it works also on a
> different windows installation, if that works.

Thats part of the problem : in /some/ (normal) situations it works, and in 
other (as normal) situations it won't. And thats just begging for Murphys 
law to be invoked. :-(


As an example, try this :

1) Create a textfile and write "origional" in it. Close it
2) Create a shortcut to it next to that textfile.

3) copy the textfile and shortcut to some other spot on the same 'puter
4) Open the copied textfile and replace "origional" with "copy". Close it

5) Double-click the copied shortcut.   I /want/ to see the textfile with 
"copied" in it, but that is not what happens - at least, not here.

Regards,
Rudy Wieser