I want to open a cmd.exe window with the project root directory as it's current directory.
Here is my elisp code:
(defun open-cmd-and-cd-to-project-root()
(interactive)
(projectile-mode t)
(cd (projectile-get-project-root))
(shell))
It opens a cmd shell in an Emacs buffer . But I want it opens a new native cmd.exe window running in Windows rather than a buffer running in Emacs. How can I do that?
:!cmd. How can I do that in Emacs? - TomCaps"open a new cmd terminal window by execute the command :!cmd"is not a correct expression, so I have to guess. Do you want to run a command usingMeta-!? - alinsoarMeta-!gnome-terminal, but I can't launch the real terminal byMeta-!cmdon Windows. - TomCaps