Open With Emacs

I have finally found a decent solution to use Emacs when interacting with the "Open with" context menu option on Windows.

Basic idea:

Steps:

path := A_Args[1]
bin := "C:\ProgramData\Emacs\bin"
command := Format("{1}\emacsclientw.exe --no-wait --alternate-editor={1}\runemacs.exe {2}", bin, path)
Run command

Published: 2025-12-25