title: DeleteFile which begin with substring
body: <p>I want to delete all the files which begin with sub string.   </p>
  
  <pre><code>  CString Formatter = _T("C:\\logs\\test\\test_12-12-2018_1*.*");     
    DeleteFile(Formatter);
  </code></pre>
  
  <p>I intend to delete following files with above code</p>
  
  <pre><code>    C:\logs\test\test_12-12-2018_1_G1.txt
      C:\logs\test\test_12-12-2018_1_G2.txt
      C:\logs\test\test_12-12-2018_1_G3.txt
      C:\logs\test\test_12-12-2018_1_G4.txt
  </code></pre>
  
  <p>When I check error from GetLastError, I get ERROR_INVALID_NAME.</p>
  
  <p>Any idea how to fix this?</p>