Newsletter
Stay informed -
Sign Up!

Image of WinRAR 3.92

Get the latest version of WinRAR

back to FAQ  

Example 01: Add files to an archive


Syntax:

RAR command [ -switchesarchive  [ @listfiles... ]
        [ files... ]  [ path_to_extract\ ]


Please use command a to add files to an archive

Example A:

create or update existing archive myarch, by adding all files
in the current directory

rar a myarch

Example B:

create or update existing archive C:Backupmyarch, by adding all files
in the directory C:Settings and C:Work and in all sub-directories of both
directories. (Switch -r :     Recurse subdirectories)

rar a -r C:\Backupmyarch C:\Settings C:\Work 



Feedback

Please write comments or suggestions about this article to support@win-rar.com


Not registered?

If you are not a registered user, please register to encourage the author to further develop and improve RAR, making possible new RAR releases! - register here -

Have you checked our Knowledge Base already?
For most cases the answer to your RAR related questions is just a few clicks away. So before writing to our support staff click
here to check our Knowledge Base for instant answers.