title: Batch Script Programming -- How to allow a user to select a file by number from a list of files in a folder?
body: <p>I have a folder with N files in it. I'm trying to figure out how to do the following:</p>
  
  <p>Display a list of the files with numbers next to them for selection:</p>
  
  <pre><code>01 - FileA.pdf
  02 - FileB.pdf
  03 - FileC.pdf
  ...
  </code></pre>
  
  <p>Then, have the user select which file he wants to use by typing in the corresponding number. I have no idea where to even begin with this one.</p>