WinRAR - extract archive to named folder and move into folder

I have looked high and low on the forms to see if this request has been filled already, but can't seem to find quite what i'm looking for.

I'd like a means of a button/shortcut/script/etc. to extract a RAR/ZIP file into a folder named from the archive's filename (minus the extension), and automatically move the archive into that folder.

Could I get pointed in the right direction on this one? Thanks to you all for the wealth of knowledge this board provides!

Copy EXTRACT CREATEFOLDER "{file|noext}" HERE
Copy MOVE TO ".\{file|noext}"
1 Like

Does this use the built-in zip extractor or WinRar? I was hoping to use Winrar if possible
Thank you for your help either way!

I don't know anything about WinRar sorry.

Using the code you put together for me, I modified a button from another post that used WinRAR and it works perfectly! Thank you!

cd {sourcepath}
"/programfiles/WinRAR/WinRAR.exe" x "{f}" "{o|noext}"
Copy MOVE TO ".{file|noext}"

1 Like

Opus uses unrar.dll to unpack rar files by default, so it shouldn't usually make a lot of difference which you use.

1 Like