Menu

#41 Smart extract

open
nobody
None
5
2012-12-07
2006-01-01
Snow
No

Add a "Smart extract" option to the Explorer context
menu. It does the following:

1) Extract ".tar.gz" and ".tar.bz2" in one operation.
2) Create exactly 1 target (file or directory): if the
archive contains exactly one item, then that's it (like
"extract here"); if it contains multiple items, then
create a directory (like "extract to...").

The patch is against 4.32.

Discussion

  • Snow

    Snow - 2006-01-01

    Smart extract patch

     
  • Diaa Sami

    Diaa Sami - 2006-04-30

    Logged In: YES
    user_id=860604

    greaaaat feature, I hope that it gets included in the
    official release soon.

     
  • Snow

    Snow - 2006-06-27

    Logged In: YES
    user_id=1375439

    I've attached a version of the 7-zip DLL that includes this
    patch. It is for 4.32 only.

    Instructions:

    1) Install 7-Zip v4.32.
    2) Rename c:\Program Files\7-Zip\7-Zip.dll to 7-Zip.dll.original
    3) Put the modified one in its place.
    4) Reboot.

     
  • Nobody/Anonymous

    Logged In: NO

    I only see a patch file and not the dll.

     
  • Snow

    Snow - 2006-06-30

    Logged In: YES
    user_id=1375439

    Ooops, I didn't check the box.

     
  • Snow

    Snow - 2006-06-30

    DLL of patch for v4.32

     
  • Anonymous

    Anonymous - 2007-01-07

    Logged In: YES
    user_id=473078
    Originator: NO

    Looking forward to item #2 epsecially :) I was going to ask for that but I am glad it's been implemented already.

    A question: when I write an Explorer action thus, to do expand-on-double-click:

    "C:\Program Files\7-Zip\7zG.exe" x "%1" -o*

    How will this patch affect this? How will I command 7zG to create a folder to contain the archive contents only if the archive contains multiple items at its root?

     

Log in to post a comment.