title: How to find all file names in a directory using windows wildcards
body: <p>i have two files:</p>
  
  <pre><code>asdf.txt.txt
  asdf.txt
  </code></pre>
  
  <p>Is it possible to use cmd to find only the file ending .txt and not the file above it: .txt.txt?</p>
  
  <p>I have :</p>
  
  <pre><code> dir *.txt
  </code></pre>
  
  <p>but it still yields both files</p>
  
  <p>is it possible to do this</p>
  
  <p>ps this is for a homework assignment but i looked on line and can't find any way to do this from the cmd line</p>