Page 4 of 4
Re: Extract all and right click menu
Posted: 09 May 2021 11:18
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.
Re: Extract all and right click menu
Posted: 09 May 2021 11:33
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?
Re: Extract all and right click menu
Posted: 09 May 2021 12:31
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?
Re: Extract all and right click menu
Posted: 09 May 2021 12:35
by highend
It allows to extract .rar files via context menu - Zip - Extract Here | Extract to <folder>
Re: Extract all and right click menu
Posted: 09 May 2021 22:39
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
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
Re: Extract all and right click menu
Posted: 09 May 2021 23:18
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^^
Re: Extract all and right click menu
Posted: 10 May 2021 11:39
by sl23
Um...
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
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!
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.
Re: Extract all and right click menu
Posted: 10 May 2021 19:10
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.
Re: Extract all and right click menu
Posted: 12 May 2021 20:45
by Lyon1
---
Re: Extract all and right click menu
Posted: 12 May 2021 20:50
by highend
I can't this to work with peazip portable
Ofc not, it uses completely different command line parameters for extracting archives...
Re: Extract all and right click menu
Posted: 12 May 2021 21:12
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.