Menu

#1086 'Extract to "*\"' extracts all archives to same directory

open-accepted
nobody
None
5
2014-09-23
2010-04-08
quanta
No

After selecting multiple CABARC-based self-extracting archives (eg: Visual C++ 2005/2008 runtimes) in Explorer, use the context menu command 'Extract to "*\"' causes the contents of both archives to be extracted to the same directory, instead of separate directories. The bug does not occur when at least 1 archive is not CABARC-based self-extracting archives, including self-extracting CAB archives created by InstallShield.

In addition, extracing multiple self-extracting archives causes the output directory name not matching name of archive. This bug also occur in occasions when self-extracting archives are not CABARC-based. In the case of CABARC-based archives, all files are extracted to CABINET~ directory.

Discussion

  • quanta

    quanta - 2010-04-09

    For examples of affected CABARC archives, see original post in bug 2983545.

     
  • Igor Pavlov

    Igor Pavlov - 2010-04-10
    • status: open --> open-accepted
     
  • Igor Pavlov

    Igor Pavlov - 2010-04-10

    There is no simple way to fix it now. 7-Zip uses file name of internal archives inside .exe. And these names are same.

     
  • quanta

    quanta - 2010-04-24

    How about just treat the internal name as folder, or simply ignore it altogether?

     
  • Anonymous

    Anonymous - 2011-05-12

    This bug was not present in 4.65. I don't see how there is no simple way to fix it.

     
  • Synetech

    Synetech - 2014-07-15

    There is no simple way to fix it now. 7-Zip uses file name of internal archives inside .exe. And these names are same.

    I don’t understand the problem. Why would you bother handling SFX archives different from any other archive format?

    If you select multiple .7z, .zip, .rar, etc. files and select Extract To \*, it creates folders for each, using the filename of the archives. This is the behavior that users would expect.

    Why then can it not simply do the exact same thing for SFX archives? For example, if you select foobar.exe and baz.exe, then selecting Extract To \* should create the folders foobar and baz to extract them to.

     
  • PeteSapai

    PeteSapai - 2014-09-23

    Over 4 years later and this still is an issue!
    I often have to extract several files. For instance today: 13 driver files for an HP notebook. I select them all, rmb-drag and select 'extract to "*\"' and 7zip ends up extracting all files to the folder '[0]~', creating one big mess of files.

     
  • Igor Pavlov

    Igor Pavlov - 2014-09-23

    It's already fixed in latest alpha versions.

     
  • PeteSapai

    PeteSapai - 2014-09-23

    Great, thanks!
    Edit: just tried it with 9.34 and it works as expected. TY!

     

    Last edit: PeteSapai 2014-09-23

Log in to post a comment.