Hi,
I am not able to create a link to a directory in my windows PC as I do with files. I mean,
this works: test
but this doesn’t : [testdir](C:)
Is it possible to create a link that simply opens the windows explorer in the specified directory?
Thanks
Ramses
June 30, 2022, 1:44pm
3
I’ve clarified the title by adding “on Windows ”.
This isn’t really related to Logseq but rather a Windows things. Personally I don’t use Windows, but a quick Google search tells me you should prepend the link with file://
I got my info from this article: https://www.digitalcitizen.life/2-ways-generate-link-shared-network-folder-or-library
Thank you very much, I didn’t know the file://
trick.
1 Like
The solution that is working for me (both Mac and Windows) is using:
For files:
[[file://…/assets/…/…/relative/path/to/the/folder][folder]]
For folder:
[[file://./logseq/…/…/relative/path/to/the/folder][folder]]
The odd thing is that just using ‘.’ isn’t enough - so, I needed to do ./internal_logseq_folder/…/…/ to get outside the logseq database folder.
Hope this helps.