#StackBounty: #sharepoint-online #hyperlink #onedrive-for-business How do I create a folder shortcut that works for all other people?

Bounty: 50

Question

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.

Problem

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.

What I tried

Regular shortcut

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.

Relative shortcut

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.


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.