
If none is found, add the files of this subfolder. Then go back to parent folder and continue searching for next subfolder.

If no one found, add the files in this subfolder into the archive or just the folder name if the subfolder is empty. If one is found, go into this subfolder and search for a subfolder. If found go into this subfolder and search again for a subfolder. So RAR must search first in the specified folder for a subfolder.

Recursion means to add not only the files in the specified folder, but also all subfolders and all files in all subfolders.

In other words option -ep1 results in omitting everything from path up to last backslash in specified file or folder name on adding the file or folder to the archive which explains the difference on adding a folder without or with backlash at end specified on command line. The folder someFolder is NOT included in the archive, just the files and the subdirectories of this folder, with second command line with the backslash at end. The folder someFolder is included in the archive with first command line without a backslash at end. recursively archive/compress all files and subdirectories, exclude base directory from specified file/folder names, enable quiet mode to display only error messages, To create a RAR archive file with the specified name after command a (add to archive) and the switches Or "%ProgramFiles%\WinRAR\Rar.exe" a -ep1 -idq -r -y "Name of RAR file with path" "%UserProfile%\Desktop\someFolder\" RAR for Android 6.Use either "%ProgramFiles%\WinRAR\Rar.exe" a -ep1 -idq -r -y "Name of RAR file with path" "%UserProfile%\Desktop\someFolder" If you prefer not to have cookies stored within your web-browser, please adjust your browser settings accordingly.

For more detailed information regarding the use of cookies on this website, please see our "Privacy Policy". By using this website, you consent to the use of cookies. Our website uses cookies to help improve your visit. We want you to have the best possible experience while using our service.
