Hi,

As the author of bat-mode, I'd like to suggest adding syntax highlighting support for the 'setx' command and the subsequent variable name.

Working from bat-mode.el in the current git repository, I added "setx" to the list of commands and also tweaked the matcher for `font-lock-variable-name-face`. See the attached patch.

To see the improved syntax highlighting, this example code can be used:

xcopy sty c:\home\latex\sty\spc /s /y
setx TEXINPUTS .\\;c:\home\latex\\;
echo Installation completed

Cheers,
Arni