SET archiver="c:\Program Files (x86)\7-Zip\7z.exe"
rem where is archiver soft placed
SET arcpath=*.arj
rem where is our received archives placed
SET unarcpath=unarc
rem where we need to decompress files
SET unarcdirs=unarc\*.*
rem and from where must compress
for %%I in (%arcpath%) do for /D %%J in (%unarcdirs%) do %archiver% e "%%I" -y -o%unarcpath%\%%~nJ *.%%~nJ && %archiver% a -tzip -mx9 %unarcpath%\%%~nJ\%%~nI.zip %unarcpath%\%%~nJ\*.%%~nJ && del %unarcpath%\%%~nJ\*.%%~nJ