title: How to use a wildcard in a batch script with CLI tools that need a specific file name?
body: <p>I have a cli application that doesn't like the usage of wildcards. In this example the usage of <code>*.dat</code>. I just get an error that the file <code>*.dat</code> is not valid.</p>
  
  <p>I have a folder with thousands of files that need to be processed by this tool. So doing it manually is a no go. I encountered quite a few application where I had this problem but this time it's rather important. A general solution how to deal with those application would be very nice.</p>
  
  <p>Can I maybe make a file list of all <code>*.dat</code> files and feed it to the application?
  It's not necessary that I use batch script but it seemed like the most simple solution so far.</p>