Switch -AP<path> - set path inside archive


The path defined using this switch is merged to file names when adding files to an archive and removed from file names when extracting.

For example, if you wish to add the file readme.txt to the folder DOCS\ENG of archive release, you may run:

WinRAR a -apDOCS\ENG release readme.txt

or to extract ENG to the current folder:

WinRAR x -apDOCS release DOCS\ENG\*.*

Depending on WinRAR settings, it may be necessary to also specify -cfg- switch to allow -ap to work when extracting files.

Available for RAR and ZIP formats only.




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