title: How to compress multiple directories into one 7z archive?
body: <p>I'm using the following code to   compresse two hundred directories into one 7z archive, but it didn't work well for me.</p>
  <pre><code>for /d %%X in (*) do &quot;c:\Program Files\7-Zip\7z.exe&quot; a &quot;%%X.zip&quot; &quot;%%X&quot;
  </code></pre>