Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Problem with adding files in command line

Martin
2014-08-11
2015-01-30
  • Martin
    Martin
    2014-08-11

    I want do add different files to a new zip file in the command line (batch file).

    Example:
    7z a -tzip -y D:/Test.zip D:\Temp\file1.txt
    7z a -tzip -y D:/Test.zip D:\Temp\file2.txt

    Until recently I've used 7-Zip v9.28 the batch file runs well.
    After updating to v9.34 beta the add of the second file (and following files) terminates with Internal Error #20121118.

     
  • Igor Pavlov
    Igor Pavlov
    2014-08-11

    It doesn't like "D:/Test.zip"
    Use "D:\Test.zip" instead.
    I'll fix next version.

     
    • Simao Campos
      Simao Campos
      2015-01-30

      It seems not yet fixed in 7-Zip 9.38 beta / 2015-01-03 :-)

       
      • Igor Pavlov
        Igor Pavlov
        2015-01-30

        9.38 only fixes some bugs of 9.34 version.
        Another (new) branch of code is under development still.