Unzip a password protect zip file using cmd in windows

7,827

You can use 7zip

7z x Yourzipfilfe.zip -pYourPassword
Share:
7,827

Related videos on Youtube

Anuj Mittal
Author by

Anuj Mittal

Updated on September 18, 2022

Comments

  • Anuj Mittal
    Anuj Mittal over 1 year

    Is there any way i can extract contents from a .zip folder that is password protected using command line.

    • Jonathan Scion
      Jonathan Scion almost 5 years
      Do you know the password? are you looking to "crack" the password to access the content or do you wish to to script the extraction.
    • Anuj Mittal
      Anuj Mittal almost 5 years
      i know the password, just want to do extraction
  • Anuj Mittal
    Anuj Mittal almost 5 years
    I want to use the default one that is already there in the OS. I am using 2016 datacenter
  • Seth
    Seth almost 5 years
    PowerShell doesn't support it, I'm unaware of how to call that function on the cmd to even extract a non protected zip, so you will probably be out of luck. For more examples have a look here. It also has at least one hint about the built-in functionality, though it's far from being easy to use (in comparison).