Skip to main content

Hyperlink to a folder


Is there a way to Hyperlink to a folder. I know I can create link to a web address but is there a way to do this to a folder?


Hyperlink@@@{
{"some web address",URL["www.wolfram.com"]},
{StatusArea["some folder","Path to folder where files are located"],File@FileNameJoin[{NotebookDirectory[],"FolderName"}]}
}//Column


The folder path is not working. Also StatusArea is not displaying (Do I need to change some notebook setting?).



Answer



With file protocol it works:


Hyperlink[
StatusArea["some folder", "Path to folder where files are located"],
"file://" <> $UserBaseDirectory
]

I don't see the problem with status area, can you elaborate? I'm on Win7 v11.3.



enter image description here


Comments