Menu

7-zip extract 001 files

Anonymous
2015-06-26
2015-06-28
  • Anonymous

    Anonymous - 2015-06-26

    I have two files .zip.001 and .zip.002 - it is an encrypted file which I have the password for. When I right click Z7ip > Extract Files and enter the password it works fine and a .bak is created. I want to automate this process and create a batch file through command line. I have my .bat file in the same folder which reads 7z x *.zip.001 -oOUTPUTPATH -pMYPASSWORD here -

    Result:

    7-Zip 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18

    Processing archive: x.zip.001

    No files to process

    Files: 0
    Size: 0
    Compressed: 524288000

    I tried following this tutorial but didn't get very far - all advice is welcomed

    http://www.guidingtech.com/24662/automatically-extract-zip-files/

     
  • Igor Pavlov

    Igor Pavlov - 2015-06-26

    If there is space in OUTPUTPATH or MYPASSWORD, use the quotes:

    7z x a.zip -p"1 2"
    
     
    • Oleg

      Oleg - 2015-06-28

      Hello Igor,
      Thank you for clear answer

       

      Last edit: Oleg 2015-06-28

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.