title: Delete all files in a folder
body: <p>I have the below code to try search for all files in my downloads folder and then delete them all however it's returning an error message based on the kill function not having enough arguments, any ideas?</p>
  
  <pre><code>Sub Kill ()
  
  Dim aFile As String
  aFile = "C:\Test\Test\Downloads\*.*"
  If Len(Dir$(aFile)) &gt; 0 Then
      Kill aFile
  End If
  
  End Sub
  </code></pre>
  
  <p>Thanks,</p>