> I installed Emacs 26.1 for windows and then associated the following
> two executables: emacs.exe and emacs-26.1.exe to a file extension of
> .vhd
>
> Unfortunately they pop up a dos windows in back of the emacs
> windows. I read that I should have used runemacs.exe but I can’t get
> windows to associate for example a .vhd (vhdl design file) to open
> using runemacs.exe… it always pics one of the other two as a choice
> and even if I chose the runemacs.exe it will not associate it.
>
> How can I get this resolved… I don’t want the dos windows needlessly
> coming up every time I use emacs.

How about something like this to call emacsclientw?

CMD> assoc .vhd=vhdlfile
CMD> ftype vhdfile="c\emacs-26.1\bin\emacsclientw" --create-frame --no-wait 
--alternate-editor "c\emacs-26.1\bin\runemacs" "%%1"

Reply via email to