Extract all and right click menu

Things you’d like to miss in the future...
sl23
Posts: 128
Joined: 03 Feb 2015 23:34

Re: Extract all and right click menu

Post by sl23 »

Sorry for my post about WinRAR, I didn't realise it was an ongoing problem.

I can't actually understand how to get this to work.
I see a lot of script code but don't know how to use it. I also use WinRAR in a portable installation. I tried adding the code to a button with amended paths but it won't work.

All I want is select files and R-click/add to archive.
Or select an archive and R-click/extract to "folder" and R-click/extract here. But not into the other pane. Is that possible?

I've tried to add commands to File Menu Tools by Lopesoft too, but I don't know how to get that to work. That would solve my issues and make XYplorer usable for me.

Can anyone offer any advice?

Thank you.

highend
Posts: 10349
Joined: 06 Feb 2011 00:33

Re: Extract all and right click menu

Post by highend »

Extracting .rar files?

Tweak the XYplorer.ini file
https://www.xyplorer.com/faq-topic.php?id=tweak

ZipPathUnRAR=<the path to your portable winrar>\UnRAR.exe

Done^^

And adding files... Create a button for it if you don't have context menu entries for WinRAR?
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

sl23
Posts: 128
Joined: 03 Feb 2015 23:34

Re: Extract all and right click menu

Post by sl23 »

Thank you for your help. What does the Tweak do exactly as I still don't see a context menu item?
Does it allow use in buttons or something?

highend
Posts: 10349
Joined: 06 Feb 2011 00:33

Re: Extract all and right click menu

Post by highend »

It allows to extract .rar files via context menu - Zip - Extract Here | Extract to <folder>
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

sl23
Posts: 128
Joined: 03 Feb 2015 23:34

Re: Extract all and right click menu

Post by sl23 »

But that doesn't appear in any context menu that I can see?

I have ticked the "Custom items in shell context menu" and the "File List/Zip" option. Which I gather is necessary for this to work?

Sorry, I don't understand what code to use for the button :oops:
Is it this:

Code: Select all

%ProgramFiles(x86)%\WinRAR\UnRAR.exe
C:\Program Files (x86)\WinRAR\UnRAR.exe
C:\Program Files (x86)\WinRAR\WinRAR.exe
.7z.ace.arj.bz2.cab.gz.iso.jar.lzh.rar.tar.uue.xz.z.

%ProgramW6432%\7-Zip\7z.exe
C:\Program Files\7-Zip\7z.exe
But aren't the first and second line the same thing?
So I can change the paths to relative paths for portable WinRAR?
Tried adding to a button, it gives several lines of options to click. So I edited the first to the path to UnRAR.exe. Then select a RAR file click button and select the first option, after a short screen flash, no unpacked archive?

What do I do?

Thanks for your help

highend
Posts: 10349
Joined: 06 Feb 2011 00:33

Re: Extract all and right click menu

Post by highend »

Then you have ticked this
Configuration | Other | Shell Integration | 64-bit Windows | Show the 64-bit context menu

and the 64-bit menu can't show XY internal context menu items...

The rest:
WTF?

That's output from the new r7 command. That has nothing to do with using a script to replicate the internal Zip functionality^^
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

sl23
Posts: 128
Joined: 03 Feb 2015 23:34

Re: Extract all and right click menu

Post by sl23 »

Um... :oops: Yep I have ticked that. I previously tried unticking it, but nothing changed. I'll try again to see if it works. Thanks for the tip :tup:

Sorry, maybe you can understand now that I really know nothing about scripting and why I think the manual is indeed useful, but not for people who know zero about it. I don't even know what the new r7 command is! :oops:

For example, I did find the way to set icons with pipe character, but couldn't find any other way. But as I was working with hamburger menu, it just wouldn't work? Anyway that's off topic.

Thank you.

sl23
Posts: 128
Joined: 03 Feb 2015 23:34

Re: Extract all and right click menu

Post by sl23 »

highend wrote: 09 May 2021 23:18 Then you have ticked this
Configuration | Other | Shell Integration | 64-bit Windows | Show the 64-bit context menu
Thank you. That completely solved my issue. :tup: :appl: :D

Lyon1
Posts: 34
Joined: 07 Apr 2019 12:07

Re: Extract all and right click menu

Post by Lyon1 »

---
Last edited by Lyon1 on 12 May 2021 21:20, edited 2 times in total.

highend
Posts: 10349
Joined: 06 Feb 2011 00:33

Re: Extract all and right click menu

Post by highend »

I can't this to work with peazip portable
Ofc not, it uses completely different command line parameters for extracting archives...
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

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

Re: Extract all and right click menu

Post by Horst »

Lyon1 wrote: 12 May 2021 20:45 Do you need winrar and 7zip specifically?
I can't get this to work with peazip portable.
This can't work but you can make a script using the command line options of paezip.
Adapt for example the one I made for 7zip in this thread.
Windows 10 Home x64 Version 21H1 (OS Build 19043.1055)
Portable XYplorer v21.90.0009
Everything 1.5.0.1263a (x64)

Post Reply