RAR selected files with custom filesize, name

This button is relatively simple, when you click it two dialogs pop up: one for the filesize (in MB) and the other for the RAR name. This can come in handy for uploading large folders/files to services such as Mediafire or iFile which have limited upload sizes.

Make sure to replace rar with the path to rar.exe on your computer.

<?xml version="1.0"?>
<button display="both">
	<label>New RAR</label>
	<tip>Creates a new RAR file with choosable file size and name</tip>
	<function type="normal">
		<instruction>&quot;rar&quot; a -v{dlgstring|Size in MB}m -m0 &quot;{dlgstring|Filename}.rar&quot; {allfile$} </instruction>