Search
OneNoteGem
  • Home
  • Addins
    • Windows Office Addins >
      • Gem for OneNote
      • OneNote Search Bar
      • OneNote Gem - Favorites
      • OneNote Batch
      • Pons for MindManager and OneNote
      • Mind Map for OneNote
      • Pons for Visio and OneNote
      • Row to OneNote
      • Auto OneNote
      • Favorite to OneNote
      • Bridge for EndNote and OneNote
      • Anchor to OneNote
      • Anchor to OneNote for PDF
      • Bring to OneNote
      • Gem Table for OneNote
    • Windows UWP Addins >
      • Gem Menu for OneNote UWP
      • CiteBoard for OneNote
      • OneReader
      • OneMind for Windows OneNote
      • OneNote Reminder Cloud (UWP)
      • OneNote Batch Cloud (UWP)
    • Mac Addins >
      • Gem Menu for Mac OneNote
      • CiteBoard for OneNote
      • Bring to Mac OneNote
      • OneMind for Mac OneNote
      • OneNote Reminder for Mac
      • OneNote Batch for Mac
      • Fix One for Mac - Fix OneNote Login, Sync Tools
    • Android Addins >
      • CiteBoard for OneNote
      • Fix One for Android - Fix OneNote Login, Sync Tools
    • Cross-Platform Addins >
      • OneNote Reminder
      • OneMind for OneNote
      • CiteBoard for OneNote
      • Fix One - Fix OneNote Login, Sync Tools
    • Markdown Addins >
      • Gem for OneNote
      • One Markdown
    • Mind Map Addins >
      • OneNote Gem - Favorites
      • Pons for MindManager and OneNote
      • Mind Map for OneNote
      • Pons for Visio and OneNote
      • OneMind for OneNote
    • Other Addins >
      • One Markdown
      • Clip to OneNote
      • WordNote
      • OneShare
      • Fix One for Windows - Fix OneNote Login, Sync Tools
  • Buy
  • Documents
  • FAQs
  • Templates
  • Support
  • Release
  • WordNote
Gem Table for OneNote
 
 
The table of merged cells for OneNote

Create Variable Links in OneNote

2019-11-24 00:18
 
What is Variable Path

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:UsersJames.
  • If login as user "Linton, the profile folder is C:UsersLinton

We usually use variable "%USERPROFILE%" to replace user profile folder C:UsersJames
Picture
 
OneDrive Files Saved in User Profile

For Example: Follow image, SkyDrive's file Doc1.docx, its path is C:UsersJamesSkyDriveDoc1.docx
Picture
 
Create Variable Links in OneNote

  • In "Gem for OneNote", click "Link" tab -> "Hyperlink" group -> "Relative Link" feature.
  • In dialog "Create Relative Local Link", click "File" button to select C:UsersJamesSkyDriveDoc1.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.
Picture
 
Modify Variable Link

Choose a variable "%ONEDRIVE%", the variable will be added to the front of link.
Example: %ONEDRIVE%C:UsersJamesSkyDriveDoc1.docx
Please modify to: %ONEDRIVE%Doc1.docx
Picture
 
Generate Variable Link

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:UsersJamesSkyDriveDoc1.docx
Picture
 
Attention:

Variable Links just work with "Gem for OneNote". You have to install "Gem for OneNote", or these variable links cannot work.
 
Download Gem for OneNote

Related Documents

  • EXE: How to Insert Cloud Attachment from OneNote 2016, 2013, 2010?
  • How to Quickly Create a Link to Parent Page In a OneNote Subpage?
  • Create Table of Contents of Headings for OneNote, and Add Label top of Headings to jump back TOC.
  • How to create links to Files Saved in local OneDrive Libraries in OneNote
  • Insert Place Hyperlink - "Top of the Page" in OneNote
Command Line
Tag System
MindMap Add-Ins Comparison
Search Add-Ins Comparison
One Markdown Syntax
Table Formula
Gantt

Gem Menu Templates
Repair OneNote
OneNote Download
English website Chinese website
Mobile Site
Copyright © 2011-2025 Digital GemSoft. OneNoteGem.com All Rights Reserved.