Menu

#842 Hirerachy not respected when extracting with cmd line

open
nobody
None
5
2012-12-07
2008-06-10
No

Hi,

Given an Archive containing subfolders

Archive.zip
\Folder\ File_in_Folder.txt
\SubFolder\ File_in_SubFolder.txt

when extracted with command line (.bat file):
7z e -o"C:\TestUnzip\TargetFolder\" "C:\TestUnzip\Archive.zip"

It is extracted as

\Folder\ File_in_Folder.txt
File_in_SubFolder.txt
\SubFolder\

When extracted via the contextual menu, ('extract here' or 'extract to...', the hierarchy is well respected.

7zip vers : 4.57.00
OS : Vista Pro

Jérôme

Discussion

  • Nobody/Anonymous

    Logged In: NO

    If you read the manual or do "7za -h" and use the command line option 'x' not 'e' then it is very likely to do what you want it to do!

    The general rule before you submit any bug (especially open source) is to make sure that you have read the manual otherwise the developer gets very frustrated, and who can blame them! 9/10 time the user is normally in the wrong and has not taken the time to actually confirm that there is an issue.

     
  • Nobody/Anonymous

    Logged In: NO

    If you read the manual or do "7za -h" and use the command line option 'x' not 'e' then it is very likely to do what you want it to do!

    The general rule before you submit any bug (especially open source) is to make sure that you have read the manual otherwise the developer gets very frustrated, and who can blame them! 9/10 time the user is normally in the wrong and has not taken the time to actually confirm that there is an issue.

     
  • Nobody/Anonymous

    Logged In: NO

    Dear Jérôme,
    See 7z x

     

Log in to post a comment.