SharePoint Asked by Saaru Lindestøkke on November 28, 2020
I have the following folder structure on a teamsite:
Vegetables
|
|--- Carrot
|--- Tomato
Fruits
|
|--- Banana
My final goal is to have folder Tomato
under Fruits
and to communicate to Vegetables
visitors that the Tomato
folder is moved.
I moved Tomato
under Fruits
, and to prevent that people who visit the Vegetables
folder are confused, I created a link to Fruits/Tomato
in Vegetables
.
However, people who sync both Vegetables
and Fruits
folders with OneDrive for Business now see an .aspx
file in Vegetables
. When they click on it, various things can happen (based on what program is associated with .aspx
), but they’re not transported to Fruits/Tomato
.
I tried creating a .lnk
file (a regular shortcut in Windows Explorer).
This doesn’t work as .lnk
files point to an absolute path.
If my OneDrive for Business syncs the Vegetables
and Fruits
folder they end up in:
c:Usersmy_userorgteamsitevegetables
c:Usersmy_userorgteamsitefruits
A .lnk
file in the Vegetables
folder would point to c:Usersmy_userorgteamsitefruitstomato
and when it’s synced to another_user
the .lnk
file points to a non-existent location.
This tool creates relative ‘.lnk’ files.
So now it points to ..fruitstomato
.
This relative shortcut unfortunately does not work for other users for an unknown reason.
Can you create the shortcut using the %USERPROFILE% environment variable? This then replaces C:Usersmy_user so your path the shortcut would point to would be:
%USERPROFILE%orgteamsitefruitstomato
This should work as it is not user specific and is just using a environment variable that should already be set.
Answered by Sam on November 28, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP