WinRAR can also create rar archives so its more universal.1024mb wrote: ↑03 May 2021 19:27Is there a technical reason why it needs WinRAR instead of 7-zip?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.
But you can for example use a script for 7zip.
This extracts 7z, rar and zip archives into the other pane.
Code: Select all
// Extracts the selected archive(s) to the inactive pane using 7-Zip.
// Check if there's at least one (archive) file selected
$selected = <get SelectedItemsPathNamesSlashed>;
$cntSelected = gettoken($selected, "count", <crlf>);
end ($cntSelected == 0), "No (archive) file(s) selected, aborted!";
$cntFiles = gettoken(formatlist($selected, "f", <crlf>, "!*\"), "count", <crlf>);
end ($cntSelected != $cntFiles), "Folder(s) can't be selected, aborted!";
focus "PI";
foreach($item, $selected, <crlf>, "e") {
if (exists($item) == 2) { continue; }
Run("""C:\Program Files\7-Zip\7zG.exe"" x ""$item"" -o""<curpath>""");
};
Focus "PI";