title: CMD Batch delete folder
body: <p>Please help write in batch:</p>
  
  <p>On disk c:\ I have folder named test;
  in this folder I have subfolders with different names.
  I need batch command to loop through all subfolders, and look for files named "Log" and/or "sqlite.sql"; if those files size &lt; 0 Kb or do not exist then delete this subfolder with all files without prompt.</p>
  
  <pre><code>for each sub in Test
   if Isfile("Log") or Isfile("sqlite.sql") and EachFileSizes &gt; 0 Then 
   Else
   Sub.delete
   End If
  next
  </code></pre>