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,050 of 17,273   
   R.Wieser to All   
   Re: How to create a relative shortcut ?   
   04 Sep 25 08:22:03   
   
   XPost: comp.os.ms-windows.programmer.win32, alt.windows7.general   
   From: address@is.invalid   
      
   Shugo,   
      
   > so you have to add these 2 flags   
   >   
   > SLDF_FORCE_NO_LINKINFO   
   > SLDF_FORCE_NO_LINKTRACK   
      
   I did, and saw no difference.   
      
   Thats the problem with "just do it" suggestions.  Without test cases and/or   
   description *when* those flags should have effect its rather hard to check   
   (w|t)hat they actually do. :-(   
      
      
   But have you noticed this :   
      
   "Deleting those two pieces of information means that the shell cannot use   
   them to help find the shortcut.   
      
   *If the file doesn't exist at the specified absolute path*,   
      
   then the relative path will be applied to the location of the shortcut   
   itself, and the shell will look for the file at the resulting location"   
      
   (bolding mine)   
      
   That means that the "its now relative" trick will only work when the   
   origional target file isn't there anymore.   
      
   Now imagine copying a folder-tree, containing a document and a shortcut to   
   it, to somewhere else , and than double-clicking the copied shortcut to edit   
   the also just copied document.   
      
   You won't like the result. :-|   
      
   Regards,   
   Rudy Wieser   
      
   --- 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