title: Batch File : Read File Names from a Directory and Store in Array
body: <p>I'm creating a batch file in which I need to list all the text file name of the specified folder then store and retrieve the same from an array. Is it possible in Batch Files? My current code to list the test files is as below </p>
  
  <pre><code> dir *.txt /b
  </code></pre>
  
  <p>any help is much appreciated.</p>