Let's say I have the following:

#+NAME: output-directory

Results can be found [[file+emacs:/path/to/output/directory][here]].

Is there a way for me to have an org link to the output directory based on whatever the value of the output-directory variable? Something in the lines of:

#+NAME: output-directory

Results can be found [[file+emacs:output-directory][here]].

1 Answer 1


If you want to define the output directory in your org-file you can use customized link abbrevations as follows.

#+LINK: my-output-dir file+emacs:/path/to/output/directory/

Results can be found [[my-output-dir:][here]].

Link to some [[my-output-dir:test.org][special result]].

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.