title: 7zip - zip and encrypt entire directory of folders
body: <p>I am using the below code to batch zip an entire directory of folders.</p>
  
  <pre><code>for /d %%X in (*) do "c:\Program Files\7-Zip\7z.exe" a "%%X.zip" "%%X\"
  </code></pre>
  
  <p>Is there a way to incorporate an encryption option to this? I would like to add a unique password to each zip output file.</p>