Problem with adding files in command line

  • Martin

    Martin - 2014-08-11

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

    7z a -tzip -y D:/ D:\Temp\file1.txt
    7z a -tzip -y D:/ 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:/"
    Use "D:\" 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.

  • txomon

    txomon - 2015-04-27

    I have tried to unzip an archive in linux, and still happens the same

    $ 7z x bat.7z
    7-Zip [64] 9.38 beta Copyright (c) 1999-2014 Igor Pavlov 2015-01-03
    p7zip Version 9.38.1 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs,ASM)

    Processing archive: bat.7z

    Internal Error #20121118

    Also, I downloaded a previous releases, 9.20 and 4.65 and they also fail, though the 4.65 puts internal error #1.

    I had this file zipped with password, and it's not asking for it, may it something to do?

    Last edit: txomon 2015-04-27
    • Igor Pavlov

      Igor Pavlov - 2015-04-28

      That error means some 7-Zip can't find the archive at some stage. Also maybe there was some BUG in 9.38.

      1) what is path of current directory?
      2) what files do you have in that directory?
      3) try to open another archives in another directories.
      4) try to use full path if archive or some relative path like ./bat.7z


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks