# WinRAR dialog?

**URL:** https://resource.dopus.com/t/winrar-dialog/8635
**Category:** Help & Support
**Created:** [October 21, 2009, 3:09am UTC](https://resource.dopus.com/t/winrar-dialog/8635 "2009-10-21T03:09:13Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Symmetry](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@Symmetry](https://resource.dopus.com/u/Symmetry)
#### Post date: [October 21, 2009, 3:09am UTC](https://resource.dopus.com/t/winrar-dialog/8635/1 "2009-10-21T03:09:13Z")

</div>

I'm rather new to DOpus and terrible with scripting, so I was wondering if a more experienced user could help me out with my issue. My problem is that I want to have a button which opens the default "Add to Archive..." dialog (from WinRAR) or a similar one, instead of just adding to a RAR/ZIP archive. The reason I want to do this is because I often want to create an archive that is several parts, of either a specified size or number of parts.

If there are other ways to accomplish this, I'm all ears!

Thanks for any help.

---

<div class="post-metadata">

### Author: ![Symmetry](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@Symmetry](https://resource.dopus.com/u/Symmetry)
#### Post date: [October 21, 2009, 3:25am UTC](https://resource.dopus.com/t/winrar-dialog/8635/2 "2009-10-21T03:25:50Z")

</div>

Sorry for double posting - forgot to include my version number and OS. I'm running DOpus 9.1.3.0 on Windows XP Home SP3.

---

<div class="post-metadata">

### Author: ![abr](https://resource.dopus.com/user_avatar/resource.dopus.com/abr/32/62448_2.png) [@abr](https://resource.dopus.com/u/abr)
#### Post date: [October 21, 2009, 3:34am UTC](https://resource.dopus.com/t/winrar-dialog/8635/3 "2009-10-21T03:34:38Z")

</div>

If you have Winrars shell extension enabled, it should show up in your context menu. (Options -\> Settings -\> Integration).

Here are some useful codes for Winrar buttons:  
[[WinRAR Compress/Decompress Buttons (and other)](http://resource.dopus.com/t/winrar-compress-decompress-buttons-and-other/4180/1))

---

<div class="post-metadata">

### Author: ![Symmetry](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@Symmetry](https://resource.dopus.com/u/Symmetry)
#### Post date: [October 21, 2009, 3:44am UTC](https://resource.dopus.com/t/winrar-dialog/8635/4 "2009-10-21T03:44:46Z")

</div>

It does show up in my context menu, but I have a lot of context items so it can take a few seconds to pop up at times.

I wonder if "Add all selected files to RAR in current directory with the name you specify:" can be tweaked to add a second query asking you how many parts or b/k/m/g it should be split to.

---

<div class="post-metadata">

### Author: ![abr](https://resource.dopus.com/user_avatar/resource.dopus.com/abr/32/62448_2.png) [@abr](https://resource.dopus.com/u/abr)
#### Post date: [October 21, 2009, 3:44am UTC](https://resource.dopus.com/t/winrar-dialog/8635/5 "2009-10-21T03:44:53Z")

</div>

This also might be of interest, maybe you can customize the values:

[[Gmail Drive 10MB RAR Button](http://resource.dopus.com/t/gmail-drive-10mb-rar-button/1498/1))

---

<div class="post-metadata">

### Author: ![Symmetry](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@Symmetry](https://resource.dopus.com/u/Symmetry)
#### Post date: [October 21, 2009, 3:56am UTC](https://resource.dopus.com/t/winrar-dialog/8635/6 "2009-10-21T03:56:24Z")

</div>

That looks very helpful. I'll try making it "rar a -v{dlgstring|Size in MB}m" rather than "rar a -v10000" and see if that works. Just wondering...where in that do you put the path to rar.exe? In the place of rar?

---

<div class="post-metadata">

### Author: ![abr](https://resource.dopus.com/user_avatar/resource.dopus.com/abr/32/62448_2.png) [@abr](https://resource.dopus.com/u/abr)
#### Post date: [October 21, 2009, 4:04am UTC](https://resource.dopus.com/t/winrar-dialog/8635/7 "2009-10-21T04:04:27Z")

</div>

You could make a three way button for your most used sizes (or a second button with more values), but surely it is possible to have some dialog & give the value directly.  
If you add that code by -\> customize -\> paste, you will have a button, which you can edit. It will show following code:

rar a -v10000 "{dlgstring|New Filename}.rar" {allfile$} .

If you replace rar (which seems to be some "alias" pointing to the real path) by the full path (with " quotes around it).

"c:\programs\winrar\winrar.exe" a -v10000 "{dlgstring|New Filename}.rar" {allfile$}

---

<div class="post-metadata">

### Author: ![Symmetry](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@Symmetry](https://resource.dopus.com/u/Symmetry)
#### Post date: [October 21, 2009, 4:30am UTC](https://resource.dopus.com/t/winrar-dialog/8635/8 "2009-10-21T04:30:39Z")

</div>

It works! Thanks for the help and links, abr.

---

<div class="post-metadata">

### Author: ![knightcrawler](https://resource.dopus.com/user_avatar/resource.dopus.com/knightcrawler/32/26193_2.png) [@knightcrawler](https://resource.dopus.com/u/knightcrawler)
#### Post date: [October 21, 2009, 12:07pm UTC](https://resource.dopus.com/t/winrar-dialog/8635/9 "2009-10-21T12:07:56Z")

</div>

You can also create a custom context menu:

![](http://img26.imageshack.us/img26/2687/2019.png)
