Hello,
i use this great tool to extract files mostly via contextmenu "Extract to (path)". IMHO it would be great, if the outputfolder would be opened after extraction.
As a workaround to have this feature already, i modified gui.cpp (7z910 x64) by adding a call to ShellExecuteW
after ExtractGUI(…) and recompiled using Vs2008
HRESULT result = ExtractGUI(...)
if (result != S_OK)
{
...
}
else
{
ShellExecuteW(NULL, NULL, eo.OutputDir, NULL, NULL, SW_SHOWNORMAL);
}
I am no professional c++-coder, but it works for me ;-)
Perhaps you could add something like this to the next release/beta.
I'm also very interested in opening the destination folder in 7-zip, though in a different context. This is my standard workflow:
1) Download archive in Firefox (automatically opens in 7zFM)
2) Click extract and enter a path in 7zFM
3) Close 7zFM
4) Navigate to the path in explorer
Step 4 is the most time consuming, so I'd like to see it done automatically.
I managed to extend the 7-Zip-Options-dialog to reflect "Open folder after Extraction" in the user-settings-tab. Also i patched 7zg.exe to open the destinationfolder after extraction if the option is enabled.
Perhaps i can go thru the 7zfm-code and extend it to open the folder. If you are interested i can create a src-patch and upload it.
I may do this next weekend… cebit is waiting tomorrow.
This would be a great feature to add to 7-zip. Unfortunately there have been feature requests to add this since 2006 or earlier, so I am not holding my breath.
Adding a checkbox with: "Show extracted files" or "Open Target Folder" to the dialog where you select the target folder might be the easiest way to do this and then call ShellExecute to open the folder in Windows Explorer.
I offer a $100 bounty if anybody can get a patch accepted or committed that does this...it's the one painful part of 7zip's interface.
(suggestion: offer a menu option "Extract to XXX (and open)" to complement the existing "Extract to XXX"
Hello,
i use this great tool to extract files mostly via contextmenu "Extract to (path)". IMHO it would be great, if the outputfolder would be opened after extraction.
As a workaround to have this feature already, i modified gui.cpp (7z910 x64) by adding a call to ShellExecuteW
after ExtractGUI(…) and recompiled using Vs2008
I am no professional c++-coder, but it works for me ;-)
Perhaps you could add something like this to the next release/beta.
Keep up that great work :-)
TalkingHead
I'm also very interested in opening the destination folder in 7-zip, though in a different context. This is my standard workflow:
1) Download archive in Firefox (automatically opens in 7zFM)
2) Click extract and enter a path in 7zFM
3) Close 7zFM
4) Navigate to the path in explorer
Step 4 is the most time consuming, so I'd like to see it done automatically.
I managed to extend the 7-Zip-Options-dialog to reflect "Open folder after Extraction" in the user-settings-tab. Also i patched 7zg.exe to open the destinationfolder after extraction if the option is enabled.
Perhaps i can go thru the 7zfm-code and extend it to open the folder. If you are interested i can create a src-patch and upload it.
I may do this next weekend… cebit is waiting tomorrow.
TalkingHead
Thanks TalkingHead. That would be useful.
I hope this gets merged into trunk soon though as keeping track of custom builds is a bit of a pain…
Hi,
I added a patch in the patch-section.
I hope it's useful.
TalkingHead
Can we get this into the main release?
Can anybody explain how to apply this patch manually?
not just surprising, but shocking, this basic feature isn't part of the stock build. uninstalled and installed quickzip
This would be a great feature to add to 7-zip. Unfortunately there have been feature requests to add this since 2006 or earlier, so I am not holding my breath.
Adding a checkbox with: "Show extracted files" or "Open Target Folder" to the dialog where you select the target folder might be the easiest way to do this and then call ShellExecute to open the folder in Windows Explorer.
I too would like to see this feature implemented
I offer a $100 bounty if anybody can get a patch accepted or committed that does this...it's the one painful part of 7zip's interface.
(suggestion: offer a menu option "Extract to XXX (and open)" to complement the existing "Extract to XXX"
http://www.e7z.org/
7zip with open target folder!!!
Amazing! Thank you so much! Please take a time to upgrade to 7-zip version 17.01, v16.04 contains serious bug. Great job anyway...