Menu

#2175 Command line no longer works2

open
nobody
None
5
2019-01-09
2019-01-08
No

Syntax 16.04:

7-Zip [32] 16.04 : Copyright (c) 1999-2016 Igor Pavlov : 2016-10-04

Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...]
       [<@listfiles...>]

Syntax 18.06:

7-Zip 18.06 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-12-30

Usage: 7z [<switches>...]</switches> <archive_name> [<file_names>...]</file_names></archive_name>

<switches>
-- : Stop switches parsing
@listfile : set path to listfile that contains file names</switches>

but in 18.x or help wrong or parser
because

this not work:
7z a -t7z @C:--\list.out -- text.7z
7z a -t7z @C:--\list.out text.7z

this work:
7z a -t7z text.7z @C:--\list.out

Discussion

  • Dindikov Sergey

    Dindikov Sergey - 2019-01-08

    it's trouble begin since 7-Zip 17.00 beta (x86) : Copyright (c) 1999-2017 Igor Pavlov : 2017-04-29

     
  • Igor Pavlov

    Igor Pavlov - 2019-01-09

    yes, it's error in help.
    @listfile works only after archive name.

     

Log in to post a comment.