title: batch file to count files in .zip files
body: <p>There are multiple zipped files say zip1,zip2 etc. Each zip file has multiple files in it. How do we create a batch file that only shows the number of files in the specific folder as
  zip1 : 524 files
  zip2 : 322 files</p>
  
  <p>the code I made runs on other folders but not on zip files</p>
  
  <pre><code>@ECHO OFF
  FOR /D %%D IN ("folderpath\*") DO (
    FOR /F %%K IN ('DIR /A-D "%%D" 2^&gt;NUL ^| FIND "File(s)" ^|^| ECHO 0') DO (
      ECHO %%D: %%K
    )
  )
  </code></pre>