Variable: eshell-windows-shell-file

eshell-windows-shell-file is a customizable variable defined in esh-ext.el.gz.

Value

nil

Documentation

The name of the shell command to use for DOS/Windows batch files.

This defaults to nil on non-Windows systems, where this variable is wholly ignored.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-ext.el.gz
(defcustom eshell-windows-shell-file
  (if (eshell-under-windows-p)
      (if (string-match "\\(cmdproxy\\|sh\\)\\.\\(com\\|exe\\)"
			shell-file-name)
	  (or (eshell-search-path "cmd.exe")
	      (eshell-search-path "command.com"))
	shell-file-name))
  "The name of the shell command to use for DOS/Windows batch files.
This defaults to nil on non-Windows systems, where this variable is
wholly ignored."
  :type '(choice file (const nil))
  :group 'eshell-ext)