Last updated
Last updated
As I move more and more to a purely Markdown-based workflow for keeping notes (Zettelkasten ruins my mind), I was looking for a simpler way to create fresh empty markdown files in a folder. Up till now, I right-clicked in Windows Explorer, selected 'New Text file', glanced at the system clock, converted the current time to something like YYYYMMDDhhmmss
, and named the text-file accordingly, like 20210108180300.md
.
It struck me that this is precisely what I certainly should automate, so I did the following: I created a small Windows batch file named new-markdown.cmd
, which I stored in my personal bin
directory (C:\Users\chgeuer\bin\new-markdown.cmd
):
new-markdown.cmd
Then, I downloaded some ICO file representing markdown, and stored it alongside the batch file, in the bin
folder. As a last step, I created these registry entries:
As a result, you get this entry, when you right-click on the empty space in a folder
The last thing in the batch file (this explorer.exe "%_isodate%.md"
thing) kicks off your favorite Markdown editor on the newly created MD file.
Alternatively, you can run this utility (with admin rights): .