title: Batch-file: Check if file with pattern exist
body: <p>I have a strange situation and I don't know what is wrong</p>
  
  <p>I need to check if in a directory exist at least one file with a pattern.</p>
  
  <pre><code>IF EXIST d:\*Backup*.* (
     ECHO "file exist"
  ) ELSE (
     ECHO "file not exist"
  )
  </code></pre>
  
  <p>If on d:\ I have a file <code>x_Backup.txt</code> and a folder <code>Backup</code> I get <code>file exist</code> but if i have only folder <code>Backup</code> I get again <code>file exist</code>, seems that the dot from path is ignored.</p>