title: What's the difference between *.bat and *.cmd file?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/148968/windows-batch-files-bat-vs-cmd">Windows batch files: .bat vs .cmd?</a>  </p>
  </blockquote>
  
  
  
  <p>Hi,</p>
  
  <p>I am learning Windows Batch programming and come across this question:</p>
  
  <p>What's the difference between <strong>.bat</strong> and <strong>.cmd</strong> file?</p>
  
  <p>If they are the same, why need 2 of them?</p>
  
  <p>BTW, what's the difference between <strong>command.com</strong> and <strong>cmd.exe</strong> ?</p>