Menu

Shortcut key to extract files?

sixothree
2009-12-30
2020-06-01
  • sixothree

    sixothree - 2009-12-30

    Is there a shortcut key extract files that works as if I clicked the button in the toolbar? I can't find one.

     
  • sixothree

    sixothree - 2010-02-11

    Is there really no way to extract a file WITHOUT using a mouse??

     
  • Jac Messerschmidt

    Extracting an archive without a mouse?
    Yes, you can use the command line version:  7za x archive.7z     Just enter, no mouse required
    You can also write a oneliner in just about any language containing that command without touching the blasted thing!

     
  • fernando

    fernando - 2010-02-11

    Assumption…  archive file has focus (highlighted) in 7-Zip File Manager.

    Single "Hot Key" - No. Certainly you are aware of these key combinations:

    Press "Alt+F" keys, Press "7" key, Press "E" key, Press "Enter" key.

    Or…

    Press "Alt+F", Right-Arrow, Down-Arrow, Enter.

     
  • Vladimir Zhirov

    Vladimir Zhirov - 2010-02-14

    It would be extremely nice to have a Total Commander compatible hot keys like Alt+F5 / Alt+F9 for packing / unpacking.

     
  • Mert Nuhoglu

    Mert Nuhoglu - 2010-06-21

    I agree. This should be done in a single hotkey.  It is a usability feature decisive for many geeks.

     
  • sixothree

    sixothree - 2010-06-21

    I'm partial to the WinRar keys Alt-W for Extract, Alt-E for Extract To…

     
  • Cody Geisler

    Cody Geisler - 2010-08-27

    (Oh, and sorry, windows only…)

     
  • Instructor

    Instructor - 2010-09-03

    When I didn't find hotkey for most used command "Extract" I really surprised. You can add it manually:
    1. Open 7zFM.exe in "Resource Hacker".
    2. Go to "Accelerators->209->1033".
    3. Add in hotkey list your hotkey for command 2001. For example for Alt+E (like WinRAR):
    VK_E, 2001, NOINVERT, ALT, VIRTKEY
    or for replace "Copy to" with "Extract" add
    VK_F5, 2001, NOINVERT, VIRTKEY

     
    • Rich Thirsk

      Rich Thirsk - 2015-11-07

      Instructor,

      Thank you for this (specific & generic) solution. I'd like to create a hotkey for the "Test" function (which seems to be only available via the toolbar). What is its command # (that I can use in your solution above)? (In general,) where do you find these command numbers?

      Thanks.

      Rich

       
  • Anonymous

    Anonymous - 2010-09-03

    thanks a million, instructor_!!! this has been a major incomprehensible omission in this app, i can't believe it was this trivial to fix. i hope this change will be adopted back to the tree.

     
  • Cody Geisler

    Cody Geisler - 2010-09-05

    Amazing, Thank you instructor!

     
  • ognog

    ognog - 2010-09-21

    Um… yes, I was wondering the same thing.  If anything I would assume most people would be using this tool to extract archives… and there are shotcuts for everything but extracting?  Or am I missing something?

     
  • Alex Ernon

    Alex Ernon - 2011-09-17

    Such complicated solutions for such an easy (too easy?) built-in feature: F5, guys, F5. "Copy To…" = Extract.

     
  • Cody Geisler

    Cody Geisler - 2011-09-17

    Such complicated solutions for such an easy (too easy?) built-in feature: F5, guys, F5. "Copy To…" = Extract.

    Copy To ≠ (Does not Equal) Extract.

    I would like to reaffirm instructor_'s solution as the best.

     
  • Anonymous

    Anonymous - 2011-09-18

    I would like to reaffirm instructor_'s solution as the best.

    I, on the other hand, think that F5 is the best (and easiest) way.

    Why exactly is Copy to… any different from Extract?.

     
  • Cody Geisler

    Cody Geisler - 2011-09-18

    I do not know the exact difference. You would have to look at the source code.

    From a frontend perspective, you should be able to easily experience the following differences:

    Extracting a .rar, .7zip, or .zip file extracts the contents to a folder.
    "Copy to…" on a .rar, .7zip, or .zip file copies the file to the folder you wish.

    You cannot directly extract the contents of a rar/7zip/zip using "Copy to…" by running the "Copy to…" command on a rar/7zip/zip file.

    Automatic folder generation is not applicable when running "Copy to…" due to the aforementioned issued.
    However, when extract is used on a source file, a folder is generated using the same nomenclature as the source file's name.

    For this reason, I prefer extract so that is does not copy to the parent folder.
    My downloads folder would be a wreck of unorganized information or I would have to type in folder names manually based on the container's name.  Using extract prevents this unnecessary chain of events.

    Hope this helps.

     
  • NokTham

    NokTham - 2015-06-28

    hello zippers, is it possible to do this throught (windows) explorer? (not 7-zip manager)

     
  • Shell

    Shell - 2015-11-07

    You can invoke a context menu by SHIFT+F10 or a dedicated key - then navigate to 7-Zip's menu commands - then ENTER.

     
  • Andy_Scull

    Andy_Scull - 2016-03-30

    erm I don't know much about SourceForge's organization and rules so forgive me if I mention the unmentionables.
    Usually I have to change the code and compile my own version of 7zfm.exe. I got used to hotkeys alt+a and alt+e and lack of them in file manager appaled me.
    You can easy do the same, you'll need to compile only CPP\7zip\UI\FileManager project.
    In PanelKey.cpp there's a switch..case which can be expanded anyway you want. Functions for actions can be found in other code, for example g_App.AddToArchive() and g_App.ExtractArchives().
    Also, maybe you'll need to modify resource.rc to get rid of hotkeys in menu if you're using Alt key like me.

     
  • elig0

    elig0 - 2020-06-01

    Instructor's line for command 2001 does not seem to be working any more in 2020.

     

Log in to post a comment.

MongoDB Logo MongoDB