title: How to Unzip PASSWORD PROTECTED file using Batch Script via 7Zip?
body: <p>I have the following batch code that currently unzips files using 7Zip:</p>
  
  <pre><code>for /R "%zipFilePath%" %%I in ("*.zip") do (
    "C:\Program Files\7-Zip\7z.exe" x -y -o"%%~dpI" "%%~fI" 
  )
  </code></pre>
  
  <p>However, I now need to unzip password protected files and I'm not sure where to pass a variable password into the current code.</p>
  
  <p>I think based on www.7Zip.org, I'd have to do something:</p>
  
  <pre><code>-pPASSWORD
  </code></pre>
  
  <p>where PASSWORD is the password.  But I've tried a few different locations in my code for the -p, but can't get it to execute properly.</p>
  
  <p>Any help would be greatly appreciated!</p>