I have been using WinRAR faithfully for many, many years now, and about a year ago or so I requested on this forum for help with making code for buttons to do a variety of tasks within DOpus using WinRAR to extract RAR and ZIP files. I noticed in the responses I received from Leo and others that DOpus is perfectly able to handle these tasks and my insistence upon using WinRAR was doing nothing more than complicating an otherwise relatively simple set of tasks.
Well, since then, I have used the buttons successfully, but I am becoming increasingly irritated at the errors that result under specific circumstances and would like to take the repeated recommendations of other users to simply use the internal RAR functions of DOpus in the hopes of avoiding these irritating errors.
I have looked around the forums for the button coding I am interested in, but have come up emptyhanded and would like to just simply ask for some help. I would like to have buttons to complete the following actions - using the INTERNAL RAR abilities of DOpus instead of my beloved (lol) WinRAR:
- Extract RAR/ZIP to current directory
- Extract RAR/ZIP to a folder in current directory using the RAR/ZIP's filename for the folders name
- Extract RAR/ZIP to a folder in current directory using the RAR/ZIP's filename for the folder's name, and then moving the RAR/ZIP into that folder. (This is where I was having trouble with WinRAR - if I selected multiple archives and used the button, it would give me an error window saying "No Archives Found." for each archive I attempted to unpack in this manner.
Below are the buttons I am presently using, in the same order as my request above:
-
cd {sourcepath}
"/programfiles\WinRAR\WinRAR.exe" x {file} -
cd {sourcepath}
"/programfiles\WinRAR\WinRAR.exe" x "{f}" "{o|noext}" -
cd {sourcepath}
"/programfiles\WinRAR\WinRAR.exe" x "{f}" "{o|noext}"
Copy MOVE TO ".{file|noext}"
Thanks to everyone on the forum that contributes to this great software! Especially the pros!
