Function: w32-shell-name

w32-shell-name is a byte-compiled function defined in w32-fns.el.gz.

Signature

(w32-shell-name)

Documentation

Return the name of the shell being used.

Source Code

;; Defined in /usr/src/emacs/lisp/w32-fns.el.gz
;;;; Shells

(defun w32-shell-name ()
  "Return the name of the shell being used."
  (or (bound-and-true-p shell-file-name)
      (getenv "ESHELL")
      (getenv "SHELL")
      (and (fboundp 'w32-using-nt) (w32-using-nt) "cmd.exe")
      "command.com"))