The linked file does not open. Nothing happens. Other kinds of links work fine (e.g. internal links, URLs). Only external links to files do not work.
Environment
SYSTEM INFO:
Obsidian version: v1.4.16
Installer version: v1.4.13
Operating system: Windows 10 Home 10.0.19045
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on
I’d double check your path syntax is correct. Moving the cursor out of the callout (so it renders) and clicking the link: both of these work for me.
external link to file → [link text](file:///C:\Users\USER\Desktop\file.txt) [link text](<file:///C:/Users/USER/Desktop/file with spaces.txt>) [link text](file:///C:%5CUsers%5CUSER%5CDesktop%5Cfile.txt)
The slashes can be forward or backward here; It doesn’t seem to matter. I wasn’t sure because I mainly use a mac which uses / for paths.
Thanks, this works. Sorry, I thought I had previously tried the correct syntax you show with the file:/// prefix to the file path, but it turns out I was missing a forward slash (I had file://C:/…). Whoops!