title: Get filtered data from a csv using the bat command
body: <p>I have a csv file with the following data coming in the first column</p>
  
  <pre><code>B10114028000D5  0S 
  C1                                  00000
  D1 0000023426600   000
  E1   0000000000 
  F1       
  G1     
  B10119628000D5  0S2
  C1                                  00000
  D1 000000000000 
  E1   0000000000  
  F1
  </code></pre>
  
  <p>As you can see the data pattern, each group of data starts with B1, C1.....G1.</p>
  
  <p>I have to pick only the selected data into a text file and the filter has to be applied only on the <strong>B1</strong> column, based on which the whole group data must be picked.</p>
  
  <p>Filter is B1 row before the space must be <strong>B10119628000D5</strong>.
  Output file should be </p>
  
  <pre><code>B10119628000D5  0S2
  C1                                  00000
  D1 000000000000 
  E1   0000000000  
  F1
  </code></pre>
  
  <p>What should be a convenient .bat file written? Please suggest.</p>