Switch -AD - append archive name to destination path

WinRAR

Switch -AD - append archive name to destination path


This option may be useful when unpacking a group of archives. By default WinRAR places files from all archives in the same folder, but this switch creates a separate folder for files unpacked from each archive.

Example

WinRAR x -ad *.rar data\

For every unpacked archive WinRAR will create subfolders below 'data'.