Switch -CP<name> - select a compression profile


Using this switch you can load settings stored in WinRAR compression profile. You need to specify a profile name as switch parameter. If profile stores selected file names, WinRAR will compress both files specified in the command line and stored in profile. If profile contains an archive name, it will be used in archiving and you should not specify another archive name in command line.

Example

Archive *.txt files using settings from "My Texts" compression profile

WinRAR a "-cpMy Texts" texts *.txt




Posted on line by http://winrar-france.com