Possible Duplicate:
Windows batch files: .bat vs .cmd?
I know that the .cmd is the successor of the .bat (.cmd files use 32-bit execution while the .bat files use 16-bit execution) but most repositories I see  on github that have a build script for windows continue using .bat extensions for build files.
As a general rule, anything you can do in a .bat file you can do in a .cmd file, but the reverse is usually not true.
There is a reason to use .bat instead of .cmd for build files?
Edit:
To clarify the difference between the extensions: Windows batch files: .bat vs .cmd?
 
     
    