title: Batch Script - Count instances of a character in a file
body: <p>Using a batch script (.bat file) in windows xp, how would I go about reading a text file and finding how many instances of a character exists?</p>
  
  <p>For example, I have a string with the following:</p>
  
  <pre><code>""OIJEFJ"JOIEJKAJF"""LKAJFKLJEIJ""JKLFJALKJF"LKJLKFA""""LKJKLFJLKADJF
  </code></pre>
  
  <p>I want it to count how many <code>"</code> there are in the file and return the count.</p>