Menu

Switch -EP1 - exclude base folder from names


Do not store or extract the path entered in the command line.

Examples

  1. add all files and folders from 'tmp' folder to archive 'test', but exclude 'tmp\' from archived names path

WinRAR a -ep1 -r test tmp\*

 This is an equivalent to commands:

cd tmp

WinRAR a -r ..\test

cd ..

  1. extract files matching images\* mask to dest\ folder, but remove 'images\' from paths of created files

WinRAR x -ep1 data images\* dest\