You can create a relative link to any file (the target of the hyperlink) that is on the same disk drive as your TaskMap (the source of the hyperlink). If you specify a path to a document on a different disk drive, TaskMap will only allow you to create an absolute link.
To create a relative hyperlink, open the Hyperlink dialog and click the radio button next to Relative, as shown here:
Hint: The choice of Relative or Absolute path is not available until you have saved your TaskMap for the first time.
After you specify the path to the target document, Visio stores only the part of the path name that is different from the path to the TaskMap drawing itself. For example:
files in the same folder as the TaskMap are referred using just their names;
files located in directories below the TaskMap include additional directory names;
files that require moving "up" the directory tree use a Windows notation in which the characters "..\" mean "up one level in the directory tree".
Several examples should help make this clear using the sample directory structure shown below. Note that the TaskMap for this example is called Hyperlink examples.vsd and is highlighted in the illustration. It is located in a folder at X:\Examples\Maps\Department 1.
The document Sample 4.doc is located in the same directory as the TaskMap, consequently its relative path is
The document Sample 5.doc is located one directory level below the TaskMap, consequently its relative path is Archive\Sample 5.doc
The document Sample 6.doc is in a folder that is one level "up" the directory tree, and then one level "down", consequently its relative path is ..\Department 2\Sample 6.doc
The document Sample 1.doc is in a folder that is two levels "up" the directory tree, consequently its relative path is ..\..\Sample 1.doc
The document Sample 2.doc is in a folder that is two levels "up" the directory tree, and then two levels "down", consequently its relative path is ..\..\Documents\Dept 1\Sample 2.doc
The document Sample 3.doc is in a folder that is one level "up" the directory tree, consequently its relative path is ..\Sample 3.doc