Create a .bat file that executes unrar/rar:
rar.bat:
@echo off
c:\whatever\rar.exe -m0 -vn15000 %path%\%1 %path%\%2
echo !detach 0
RAR = EXEC ..\scripts\rar.bat
To archive contents of current directory: SITE RAR myrar.rar .
To archive directory/file within current directory: SITE RAR myrar.rar <file/directory>
unrar.bat:
@echo off
echo !buffer off
c:\whatever\unrar.exe %path%\%1 %path%
UNRAR = EXEC ..\scripts\unrar.bat
To unrar contents of .rar file to current directory: SITE UNRAR myrar.rar
... Didn't test it, but something like that should work
|