title: Zip every file in all folders and subfolders to a separate zip file
body: <p>I have this folder structure:</p>
  
  <pre><code>Backup
      Database1
          database11.bak
          database12.bak
      Database2
          Backup21
              database211.bak
              database212.bak
          Backup22
              Backup223
                  database2231.bak
  ...
  </code></pre>
  
  <p>I need to zip every file in all folders and subfolders to a separate zip file in their original folder. The result should be:</p>
  
  <pre><code>Backup
      Database1
          database11.7z
          database12.7z
      Database2
          Backup21
              database211.7z
              database212.7z
          Backup22
              Back223
                  database2231.7z
  ...
  </code></pre>
  
  <p>So far I come up with this. I will zip all files in a folder</p>
  
  <p>FOR %%i IN (%folderToArchive%*.bak) DO 7z.exe a "%folderToArchive%\%%~ni.7z" "%%i"</p>