You can use .gitattributes, an entry such as:
.gitattributes
*.cmd eol=crlf
This will ensure that the file is checked out with windows line endings even in clones that would normally use unix line endings,