Extract all and right click menu

Things you’d like to miss in the future...
nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Extract all and right click menu

Post by nas8e9 »

notabot wrote: 01 May 2021 17:42
Horst wrote: 27 Apr 2021 23:03 Here it looks like this with results from several folders
Looks are OK, but when you actually would 'extract to separate folders' and possibly more options, you will notice that it will be executed wrong, because those shell extensions are not prepared to handle files from different folders.
7-zip will extract only the files from the first folder it sees in the list, whereas WinRar extarct all files to the second folder (with files from 2 different folders).
The screenshot is from Total Commander, which in my testing does work correctly: multiple files from multiple folders are all extracted to the destination folder.
I replaced the 64-bit context menu of XYPlorer with a different one (because much faster and less missing entries) and had that same issue.
Can I ask how you did that and what you replaced the 64-bit context menu with?

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Extract all and right click menu

Post by nas8e9 »

Hi Don,

Code: Select all

v21.70.0104 - 2021-05-01 18:09
    + File | File Special | Extract Here: Now it also supports RAR files (WinRAR 
      has to be installed), and it will extract all selected files (not only the 
      focused one). Note that you can extract ZIP and RAR files in one go, and 
      they can be from different locations.
    + Custom Context Menu | Zip: Now the commands "Extract Here" and "Extract to 
      [folder]" will extract all selected files (not only the focused one). Note 
      that you can extract ZIP and RAR files in one go, and they can be from 
      different locations.
      If more than one file is selected the menu item caption "Extract to 
      [folder]" is changed to "Extract Each Archive to Separate Folder".
    + Edit | Paste Special | Paste Extracted: Now it also supports RAR files 
      (WinRAR has to be installed), and it will extract all selected files (not 
      only the focused one). Note that you can extract ZIP and RAR files in one 
      go, and they can be from different locations.
Thank you for the new functionality in 21.70.0104 :appl:! The one thing usability-wise would be an additional right-click option to extract the multiple files to a different folder (with folder picker); copy and then paste special > paste extracted, isn't very discoverable?

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Extract all and right click menu

Post by Horst »

notabot wrote: 01 May 2021 17:42
Horst wrote: 27 Apr 2021 23:03 Here it looks like this with results from several folders
Looks are OK, but when you actually would 'extract to separate folders' and possibly more options, you will notice that it will be executed wrong, because those shell extensions are not prepared to handle files from different folders.
7-zip will extract only the files from the first folder it sees in the list, whereas WinRar extarct all files to the second folder (with files from 2 different folders).

I replaced the 64-bit context menu of XYPlorer with a different one (because much faster and less missing entries) and had that same issue.
This picture was from my Total Commander
And in TC entries for WinRAR and 7zip are working even with files from different locations
as I said above.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Extract all and right click menu

Post by admin »

nas8e9 wrote: 01 May 2021 18:42 The one thing usability-wise would be an additional right-click option to extract the multiple files to a different folder (with folder picker); copy and then paste special > paste extracted, isn't very discoverable?
If you need "paste extracted" often you can assign a keyboard shortcut... :cup: ... well, let's see what other feedback comes in....

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Extract all and right click menu

Post by admin »

PS: next beta lets you right-drag your RARs onto a folder:

Code: Select all

    + Drag and Drop Context Menu: Now "Extract Here" also supports RAR files 
      (WinRAR has to be installed), and it will extract all dragged files (not 
      only the focused one). Note that you can extract ZIP and RAR files in one 
      go, and they can be from different locations.

muciones
Posts: 14
Joined: 26 Apr 2021 18:51

Re: Extract all and right click menu

Post by muciones »

Thank you so much Admin and all. Would be great to handle "extract to separate folder" for archive files found in different folders from hdd/ssd
Happy Easter!

notabot
Posts: 59
Joined: 24 Feb 2021 12:34

Re: Extract all and right click menu

Post by notabot »

nas8e9 wrote: 01 May 2021 17:54 Can I ask how you did that and what you replaced the 64-bit context menu with?
2021-05-01 19_23_35-Manage User-Defined Commands.png
2021-05-01 19_23_35-Manage User-Defined Commands.png (18.28 KiB) Viewed 1704 times
Press SHIFT+ESC to open the 'alternative' contextmenu.
TCM64.exe can be downloaded here (source available too).

Especially with multiple filetypes, TCM gives better results.
It is *almost* an in-place upgrade of XY64ctxmenu.exe [1] if it were not for the way XYplorer.exe and XY64ctxmenu.exe communicate (a textfile with position and a list of files/fodlers is passed along)


[1] Make a backup copy of XY64ctxmenu.exe, save TCM64.exe as XY64ctxmenu.exe and open the 64-bit context menu to see what I mean. You can't actually use it though, just look.

muciones
Posts: 14
Joined: 26 Apr 2021 18:51

Re: Extract all and right click menu

Post by muciones »

Hello, updated to latest beta and extract to separate folder works for various archives from various folders, however, encountered a bug where extracting now create 4 folders if the archive has 4 parts for example.

Attached a screenshot to see what I mean. Each new created folder includes complete files, resulting 4 folders with same content, instead of 1 with extracted files from all 4 parts
c924eeb5c6ffdee459d173b961a627c3.png
c924eeb5c6ffdee459d173b961a627c3.png (28.37 KiB) Viewed 1690 times

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Extract all and right click menu

Post by nas8e9 »

muciones wrote: 03 May 2021 01:17 Hello, updated to latest beta and extract to separate folder works for various archives from various folders, however, encountered a bug where extracting now create 4 folders if the archive has 4 parts for example.

Attached a screenshot to see what I mean. Each new created folder includes complete files, resulting 4 folders with same content, instead of 1 with extracted files from all 4 parts

c924eeb5c6ffdee459d173b961a627c3.png
Can't confirm. Two questions:
1. What WinRAR version are you using?
2. What is the value of

Code: Select all

ZipPathUnRAR=
in XYplorer.ini?

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Extract all and right click menu

Post by Horst »

muciones wrote: 03 May 2021 01:17 Hello, updated to latest beta and extract to separate folder works for various archives from various folders, however, encountered a bug where extracting now create 4 folders if the archive has 4 parts for example.

Attached a screenshot to see what I mean. Each new created folder includes complete files, resulting 4 folders with same content, instead of 1 with extracted files from all 4 parts

c924eeb5c6ffdee459d173b961a627c3.png
If you mean that your rar archive is a multipart one and you drag and drop all parts
then I would expect that behaviour because WinRAR can't detect this condition.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

muciones
Posts: 14
Joined: 26 Apr 2021 18:51

Re: Extract all and right click menu

Post by muciones »

[/quote]
Can't confirm. Two questions:
1. What WinRAR version are you using?
2. What is the value of

Code: Select all

ZipPathUnRAR=
in XYplorer.ini?
[/quote]

Hello, this is the value

ZipPathUnRAR=%ProgramW6432%\WinRAR\UnRAR.exe

muciones
Posts: 14
Joined: 26 Apr 2021 18:51

Re: Extract all and right click menu

Post by muciones »

Horst wrote: 03 May 2021 09:19
muciones wrote: 03 May 2021 01:17 Hello, updated to latest beta and extract to separate folder works for various archives from various folders, however, encountered a bug where extracting now create 4 folders if the archive has 4 parts for example.

Attached a screenshot to see what I mean. Each new created folder includes complete files, resulting 4 folders with same content, instead of 1 with extracted files from all 4 parts

c924eeb5c6ffdee459d173b961a627c3.png
If you mean that your rar archive is a multipart one and you drag and drop all parts
then I would expect that behaviour because WinRAR can't detect this condition.
Hello, I am not using drag and drop, simply after selecting all found archives from various folders, I Extract to separate folder command that is in the new context menu added to beta version 21.70.0106

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Extract all and right click menu

Post by Horst »

muciones wrote: 03 May 2021 09:26
Horst wrote: 03 May 2021 09:19
muciones wrote: 03 May 2021 01:17 Hello, updated to latest beta and extract to separate folder works for various archives from various folders, however, encountered a bug where extracting now create 4 folders if the archive has 4 parts for example.

Attached a screenshot to see what I mean. Each new created folder includes complete files, resulting 4 folders with same content, instead of 1 with extracted files from all 4 parts

c924eeb5c6ffdee459d173b961a627c3.png
If you mean that your rar archive is a multipart one and you drag and drop all parts
then I would expect that behaviour because WinRAR can't detect this condition.
Hello, I am not using drag and drop, simply after selecting all found archives from various folders, I Extract to separate folder command that is in the new context menu added to beta version 21.70.0106
Thats the same problem because WinRAR is invoked several times and can't detect this.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

muciones
Posts: 14
Joined: 26 Apr 2021 18:51

Re: Extract all and right click menu

Post by muciones »

No worry, Extract Here works like a charm. It's great now! :appl: :appl: :appl: :appl:

1024mb
Posts: 205
Joined: 14 Dec 2018 23:26

Re: Extract all and right click menu

Post by 1024mb »

admin wrote: 01 May 2021 19:08 PS: next beta lets you right-drag your RARs onto a folder:

Code: Select all

    + Drag and Drop Context Menu: Now "Extract Here" also supports RAR files 
      (WinRAR has to be installed), and it will extract all dragged files (not 
      only the focused one). Note that you can extract ZIP and RAR files in one 
      go, and they can be from different locations.
Is there a technical reason why it needs WinRAR instead of 7-zip?

Post Reply