home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.comp.os.windows-xp      Actually wasn't too bad for a M$-OS      17,273 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 17,062 of 17,273   
   Schugo to R.Wieser   
   Re: How to create a relative shortcut ?   
   05 Sep 25 15:54:54   
   
   XPost: comp.os.ms-windows.programmer.win32, alt.windows7.general   
   From: schugo@schugo.de   
      
   On 05.09.2025 09:34, R.Wieser wrote:> Shugo,   
   >   
   > Another thing :   
   >   
   > [quote=you]   
   > The magic happens after "File not found", when you point   
   > it to the file, the .lnk is updated with realtive paths.   
   > [/quote]   
   >   
   > Are you *sure* that the result is again a relative path (to the target), and   
   > not an absolute path as it normally contains ?   As the shortcut-creating   
   > program doesn't seem to work for me, can you check ?   
      
   Not at the beginning of the file, only at the optional string section   
   RELATIVE_PATH towards the end of the file. The normal path strings at   
   the beginning of the file are always absolute. I tried changing an   
   absolute to a relative path by hand and it failed with file not found.   
      
   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?   
   I haven't tested it, but I'm 99% sure that it works also on a different   
   windows installation, if that works.   
      
   (my test target was 2 folders down btw, yours was in the same folder,   
   maybe that makes a difference, if the find target (?) button is shown)   
      
   ciao..   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca