title: How to scan a directory with wildcard with a specific subdirectory
body: <p>I was wondering what would be a good way to scan a directory that has characters you are not sure of.</p>
  
  <p>For example, I want to scan</p>
  
  <blockquote>
    <p>C:\Program\Version2.*\Files</p>
  </blockquote>
  
  <p>Meaning</p>
  
  <ul>
  <li>The folder is located in <code>C:\Program</code>  </li>
  <li><code>Version2.*</code> could be anything like <code>Version2.33</code>, <code>Version2.1</code>, etc.  </li>
  <li>That folder has a folder named <code>Files</code> in it</li>
  </ul>
  
  <p>I know that I could do something like <code>foreach (directory) if contains("Version2.")</code>, but I was wondering if there was a better way of doing so. </p>