I’m trying to use Obsidian URI to open notes, or create them, using the Windows 10 Command Prompt. While I can get the commands to open my Obsidian vault, I can’t get a note to open, and creating notes doesn’t seem to accept the title.
Things I have tried
Opening a Vault
This command works as expected Start obsidian://open?vault=Notes
. It opens my “Notes” vault.
Opening a note
In Obsidian’s file explorer, I can right-click on a note and “copy obsidian URL” to build my command. For example, I can do this for the file test.md
at the root of my vault. However, when I try Start obsidian://open?vault=Notes&file=test
it does not open the note indicated. Obsidian opens, but only shows the previously opened note. If no note was previously opened, then Obsidian opens to the “No File is Open” screen.
Creating a note
If I do Start obsidian://new?vault=Notes&name=NewNoteTest
Obsidian will create a blank new note, but the name doesn’t work. The new note is not titled NewNoteTest
as indicated but rather Untitled
or Untitled 2
etc.