BatMode

Major mode for editing Dos scripts (batch files)

Provides syntax highlighting, a basic template, access to help pages, imenu/outline navigation, and the ability to run scripts from within Emacs.

Part of core Emacs. Simply open a *.bat or *.cmd file, or run M-x bat-mode in Emacs version 24.4 onwards. The source code can be browsed at

http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/bat-mode.el

The DosScripts page compares previous Emacs modes for editing Dos scripts.


DosScripts ProgrammingModes