Použiješ cyklus FOR....https://stackoverflow.com/questions/59228680/how-to-compress-each-subfolder-in-a-folder-into-separate-rar-archives-with-rar-e