When describing a link to an internal file in Obsidian, the following format is used, but it does not work correctly when describing a UNC path.
[hogehoge](<file:///file path>)
Please tell me what to do.
I want to describe the following
[path1](<file:///\system07\C$>)
[path2](<file:///\fileserver2\Share\Test\Foo.txt>)
You could try dragging the file in while holding Ctrl, (option on Mac) and it will auto-format the absolute path.
Then you can compare the difference to what you were typing.
In my test it encoded the slashes. But I was able to replace them with slashes (both forward and back) and it still worked for me.
2 Likes
ariehen
3
In the past encoding the \\
as %5C%5C
before the share name/IP address has worked for me. e.g.
link to a file →
[link text](file:///%5C%5Cfileservername/path/to/file.docx)
[link text](<file:///%5C%5Cfileservername/path/to/file with spaces.docx>)
link to a directory / folder →
[link text](file:///%5C%5Cfileservername/path/to/folder)
You could give that a try.
2 Likes