Function: w32-shell-dos-semantics
w32-shell-dos-semantics is a byte-compiled function defined in
w32-fns.el.gz.
Signature
(w32-shell-dos-semantics)
Documentation
Return non-nil if current interactive shell expects MS-DOS shell semantics.
Source Code
;; Defined in /usr/src/emacs/lisp/w32-fns.el.gz
(defun w32-shell-dos-semantics ()
"Return non-nil if current interactive shell expects MS-DOS shell semantics."
(or (w32-system-shell-p (w32-shell-name))
(and (member (downcase (file-name-nondirectory (w32-shell-name)))
'("cmdproxy" "cmdproxy.exe"))
(w32-system-shell-p (getenv "COMSPEC")))))