In Windows, sometimes we use Variable Path.
Like follow image, most paths use variable.
For example: Personal folder's path is %USERPROFILE%\Documents
As the user profile folder includes Windows login user name.
On the same computer, difference users use difference user profile folder.
- If login as user "James", the profile folder is C:\Users\James.
- If login as user "Linton, the profile folder is C:\Users\Linton
We usually use variable "%USERPROFILE%" to replace user profile folder C:\Users\James
For Example: Follow image, SkyDrive's file Doc1.docx, its path is C:\Users\James\SkyDrive\Doc1.docx
- In "Gem for OneNote", click "Link" tab -> "Hyperlink" group -> "Relative Link" feature.
- In dialog "Create Relative Local Link", click "File" button to select C:\Users\James\SkyDrive\Doc1.docx.
- In left bottom combo box, choose the item "Create Variable Link" type.
- And another combo box appear on right side, this is "Variable" combo box.
Choose a variable "%ONEDRIVE%", the variable will be added to the front of link.
Example: %ONEDRIVE%C:\Users\James\SkyDrive\Doc1.docx
Please modify to: %ONEDRIVE%\Doc1.docx
Click "OK" button, Gem for OneNote will create this variable link in current OneNote page.
ogvar://%ONEDRIVE%\Doc1.docx
Click on this link, Gem will open file: C:\Users\James\SkyDrive\Doc1.docx
Variable Links just work with "Gem for OneNote". You have to install "Gem for OneNote", or these variable links cannot work.