Add support for Windows cmd files

Same as current support for Windows bat files.