Windows – How to create a desktop shortcut to a Onedrive file

microsoft-excel-2013onedrivewindows 7

I would like to create a shortcut on my desktop to an Excel file located on OneDrive and having it open in Excel. (I'm using Windows7 and Office 2013)

Within Excel, I have retrieved the path to file (https://d.docs.live.net/cxxxxxxxcexxxxx/Documents/myfile.xlsx). But if I create a shortcut with Url it opens the file within my Browser and not within Excel.

The creation of a shortcut forcing the usage of Excel ("excel https://d.docs.live.net/cxxxxxxxcexxxxx/Documents/myfile.xlsx") fails at "The path does not exist".

Any other idea ?

Best Answer

Instead of hacking internal paths, go native way referring to your locally stored synced copy of the OneDrive file:

  1. In Windows Explorer, open your OneDrive Personal Folder (typically it has a cloud icon)
  2. Right-click your file
  3. Select command Send to > Desktop (create shortcut)

This way, you care only about your local copy of the file and you let OneDrive to do the sync with cloud version of the file – so you no longer need to use paths referring to cloud by yourself.

Related Question