home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / rar32b1.zip / rar.txt < prev    next >
Text File  |  2003-03-23  |  60KB  |  1,533 lines

  1.                              User's Manual
  2.                              ~~~~~~~~~~~~~
  3.                      RAR 3.20 32-bit console version
  4.                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5.  
  6.                        =-=-=-=-=-=-=-=-=-=-=-=-=-=-
  7.                        Welcome to the RAR Archiver!
  8.                        -=-=-=-=-=-=-=-=-=-=-=-=-=-=
  9.  
  10.  Introduction
  11.  ~~~~~~~~~~~~
  12.  
  13.     RAR is a powerful tool allowing you to manage and control archive
  14.   files. Console RAR supports archives only in RAR format, which names
  15.   usually have a ".rar" extension. ZIP and other formats are not supported.
  16.   Windows users may install GUI RAR version - WinRAR, which is able to
  17.   process much more archive types.
  18.  
  19.   RAR features include:
  20.  
  21.     *  Highly sophisticated, original compression algorithm
  22.     *  Special compression algorithms optimized for text, audio,
  23.        graphics data, 32 and 64-bit Intel executables
  24.     *  Better compression than similar tools, using 'solid' archiving
  25.     *  Authenticity verification (registered version only)
  26.     *  Self-extracting archives and volumes (SFX)
  27.     *  Ability to recover physically damaged archives
  28.     *  Locking, password, file order list, file security & more ...
  29.  
  30.  
  31.  Configuration file
  32.  ~~~~~~~~~~~~~~~~~~
  33.  
  34.   RAR for Unix reads configuration information from the file .rarrc
  35.   in the user's home directory (stored in HOME environment variable)
  36.   or in /etc directory.
  37.  
  38.   RAR for Windows reads configuration information from the file rar.ini,
  39.   placed in the same directory as the rar.exe file.
  40.  
  41.   This file may contain the following string:
  42.  
  43.   switches=<any RAR switches, separated with a space>
  44.  
  45.  
  46.  Environment variable
  47.  ~~~~~~~~~~~~~~~~~~~~
  48.  
  49.     Default parameters may be added to the RAR command line by establishing
  50.     an environment variable "RAR".
  51.  
  52.     For instance, in UNIX following lines may be added to your profile:
  53.  
  54.       RAR='-s -md1024'
  55.       export RAR
  56.  
  57.     RAR will use this string as default parameters in the command line and
  58.     will create "solid" archives with 1024 KB sliding dictionary size.
  59.  
  60.     RAR handles options with priority as following:
  61.  
  62.        command line switches                   highest priority
  63.        switches in the RAR variable            lower priority
  64.        switches saved in configuration file    lowest priority
  65.  
  66.  
  67.  Log file
  68.  ~~~~~~~~
  69.  
  70.   If the switch -ilog is specified in the command line or configuration
  71.   file, RAR will write informational messages, concerning errors
  72.   encountered while processing archives, to a log file. In Unix
  73.   this file is named .rarlog and placed in the user's home directory.
  74.   In Windows it is named rar.log and placed in the same directory as
  75.   the rar.exe file. Switch -ilog allows to override the default log name.
  76.  
  77.  
  78.  The file order list for solid archiving - rarfiles.lst
  79.  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  80.  
  81.   rarfiles.lst contains user-defined file list which tells RAR
  82.   the order to add files to a solid archive. It may contain file
  83.   names, wildcards and special entry - $default. The default
  84.   entry defines the place in order list for files not matched
  85.   with other entries in this file. The comment character is ';'.
  86.  
  87.   In Windows this file should be placed in the same directory as RAR,
  88.   in Unix - to the user's home directory or to /etc.
  89.  
  90.   Tips to provide improved compression and speed of operation:
  91.  
  92.   - similar files should be grouped together in the archive;
  93.   - frequently accessed files should be placed at the beginning.
  94.  
  95.   Normally masks placed nearer to the top of list have higher priority,
  96.   but there is an exception from this rule. If rarfiles.lst contains such
  97.   two masks that all files matched by one mask are also matched by other,
  98.   that mask which matches a smaller subset of file names will have higher
  99.   priority regardless of its position in the list. For example, in case of
  100.   *.cpp and f*.cpp masks, f*.cpp has higher priority, so position of
  101.   'filename.cpp' will be chosen according to 'f*.cpp', not '*.cpp'.
  102.  
  103.  
  104.  RAR command line syntax
  105.  ~~~~~~~~~~~~~~~~~~~~~~~
  106.  
  107.  Syntax
  108.  
  109.     RAR <command>  [ -<switches> ]  <archive>  [ <@listfiles...> ]
  110.         [ <files...> ]  [ <path_to_extract\> ]
  111.  
  112.  Description
  113.  
  114.     Command line options (commands and switches) provides control of
  115.     creating and managing archives with RAR. The command is a string (or a
  116.     single letter) which commands RAR to perform a corresponding action.
  117.     Switches are designed to modify the way RAR performs the action. Other
  118.     parameters are archive name and files to be archived into or extracted
  119.     from the archive.
  120.  
  121.     Listfiles are plain text files contained names of files to process.
  122.     File names should start at the first column. It is possible to
  123.     put comments to the listfile after // characters. For example,
  124.     you may create backup.lst containing the following strings:
  125.  
  126.     c:\work\doc\*.txt         //backup text documents
  127.     c:\work\image\*.bmp       //backup pictures
  128.     c:\work\misc
  129.  
  130.     and then run:
  131.  
  132.        rar a backup @backup.lst
  133.  
  134.     If you wish to read file names from stdin (standard input),
  135.     specify the empty listfile name (just @).
  136.  
  137.     You may specify both usual file names and list files in the same
  138.     command line. If neither files nor listfiles are specified,
  139.     then *.* is implied and RAR will process all files
  140.  
  141.     In a UNIX environment you need to quote wildcards to avoid them being
  142.     processed by RAR itself. For example, this command will extract
  143.     *.asm files from RAR archives in current path:
  144.  
  145.        rar e '*.rar' '*.asm'
  146.  
  147.  
  148.     Command could be any of the following:
  149.  
  150.     a       Add files to archive.
  151.  
  152.             Example:
  153.  
  154.             create or update existent archive myarch, adding all files
  155.             in the current directory
  156.  
  157.             rar a myarch
  158.  
  159.  
  160.     c       Add archive comment. Comments are displayed while the archive is
  161.             being processed. Comment length is limited to 62000 bytes
  162.  
  163.             Examples:
  164.  
  165.             rar c distrib.rar
  166.  
  167.             Also comments may be added from a file:
  168.  
  169.             rar c -zinfo.txt dummy
  170.  
  171.  
  172.     cf      Add files comment. File comments are displayed when the 'v'
  173.             command is given. File comment length is limited to 32767 bytes.
  174.  
  175.             Example:
  176.  
  177.             rar cf bigarch *.txt
  178.  
  179.  
  180.     cw      Write archive comment to specified file.
  181.  
  182.             Example:
  183.  
  184.             rar cw oldarch comment.txt
  185.  
  186.  
  187.     d       Delete files from archive. Note, if the processing of this
  188.             command resulted in removing all the files from the archive, the
  189.             empty archive would removed.
  190.  
  191.  
  192.     e       Extract files to current directory.
  193.  
  194.  
  195.     f       Freshen files in archive. Updates those files changed since they
  196.             were packed to the archive. This command will not add new files
  197.             to the archive.
  198.  
  199.  
  200.     i[i|c|h|t]=<string>
  201.             Find string in archives.
  202.  
  203.             Supports following optional parameters:
  204.  
  205.               i - case insensitive search (default);
  206.  
  207.               c - case sensitive search;
  208.  
  209.               h - hexadecimal search;
  210.  
  211.               t - use ANSI, Unicode and OEM character tables (Win32 only);
  212.  
  213.             If no parameters are specified, it is possible to use
  214.             the simplified command syntax i<string> instead of i=<string>
  215.  
  216.             It is allowed to specify 't' modifier with other parameters,
  217.             for example, ict=string performs case sensitive search
  218.             using all mentioned above character tables.
  219.  
  220.             Examples:
  221.  
  222.             1) rar "ic=first level" -r c:\*.rar *.txt
  223.  
  224.             Perform case sensitive search of "first level" string
  225.             in *.txt files in *.rar archives on the disk c:
  226.  
  227.             2) rar ih=f0e0aeaeab2d83e3a9 -r e:\texts
  228.  
  229.             Search for hex string f0 e0 ae ae ab 2d 83 e3 a9
  230.             in rar archives in e:\texts directory.
  231.  
  232.  
  233.     k       Lock archive. Any command which intends to change the archive
  234.             will be ignored.
  235.  
  236.             Example:
  237.  
  238.             rar k final.rar
  239.  
  240.  
  241.     l[t,b]  List contents of archive [technical]. Files are listed as with
  242.             the 'v' command with the exception of the file path. i.e. only
  243.             the file name is displayed. Optional technical information
  244.             (host OS, solid flag and old version flag) is displayed
  245.             when 't' modifier is used. Modifier 'b' forces RAR to output
  246.             only bare file names without any additional information.
  247.  
  248.  
  249.     m[f]    Move to archive [files only]. Moving files and directories
  250.             results in the files and directories being erased upon
  251.             successful completion of the packing operation. Directories will
  252.             not be removed if 'f' modifier is used and/or '-ed' switch is
  253.             applied.
  254.  
  255.  
  256.     p       Print file to stdout.
  257.  
  258.             You may use this command together with -inul switch to disable
  259.             all RAR messages and print only file data. It may be important,
  260.             when you need to send a file to stdout for use in pipes.
  261.  
  262.  
  263.     r       Repair archive. Archive repairing is performed in two stages.
  264.             First, the damaged archive is searched for a recovery record
  265.             (see 'rr' command). If the archive contains a recovery record
  266.             and if the portion of the damaged data is continuous and less
  267.             than N*512 bytes, where N is number of recovery sectors placed
  268.             into the archive, the chance of successful archive
  269.             reconstruction is very high. When this stage has completed,
  270.             a new archive will be created, called fixed.arcname.rar,
  271.             where 'arcname' is the original (damaged) archive name.
  272.  
  273.             If a broken archive does not contain a recovery record or if
  274.             the archive is not completely recovered due to major damage, a
  275.             second stage is performed. During this stage only the archive
  276.             structure is reconstructed and it is impossible to recover
  277.             files which fail the CRC validation, it is still possible to
  278.             recover undamaged files which were inaccessible due to the
  279.             broken archive structure. Mostly this is useful for non-solid
  280.             archives.
  281.  
  282.             When the second stage is completed, the reconstructed archive
  283.             will be saved as rebuilt.arcname.rar, where 'arcname' is
  284.             the original archive name.
  285.  
  286.             RAR/DOS32 version uses _recover.rar and _reconst.rar instead
  287.             of names mentioned aboves.
  288.  
  289.             While the recovery is in progress, RAR may prompt the user for
  290.             assistance when a suspicious file is detected.
  291.  
  292.                       Suspicious entry
  293.  
  294.               Name:  <possibly filename>
  295.               Size:  <size>    Packed: <compressed size>
  296.  
  297.                       Add it: Yes/No/All
  298.  
  299.             Answer 'y' to add this entry to the file fixed.arcname.rar.
  300.  
  301.             Example:
  302.  
  303.             rar r buggy.rar
  304.  
  305.  
  306.     rc      Reconstruct missing and damaged volumes using recovery volumes
  307.             (.rev files). You need to specify any existing volume
  308.             as the archive name, for example, 'rar rc backup.part03.rar'
  309.  
  310.             Read 'rv' command description for information about
  311.             recovery volumes.
  312.  
  313.  
  314.     rn      Rename archived files.
  315.  
  316.             The command syntax is:
  317.  
  318.             rar rn <arcname> <srcname1> <destname1> ... <srcnameN> <destnameN>
  319.  
  320.             For example, the following command:
  321.  
  322.             rar rn data.rar readme.txt readme.bak info.txt info.bak
  323.  
  324.             will rename readme.txt to readme.bak and info.txt to info.bak
  325.             in the archive data.rar.
  326.  
  327.             It is allowed to use wildcards in the source and destination
  328.             names for simple name transformations like changing file
  329.             extensions. For example:
  330.  
  331.             rar rn data.rar *.txt *.bak
  332.  
  333.             will rename all *.txt files to *.bak.
  334.  
  335.             RAR does not check if the destination file name is already
  336.             present in the archive, so you need to be careful to avoid
  337.             duplicated names. It is especially important when using
  338.             wildcards. Such command is potentially dangerous, because
  339.             a wrong wildcard may corrupt all archived names.
  340.  
  341.  
  342.     rr[N]   Add data recovery record. Optionally, redundant information
  343.             (recovery record) may be added to an archive.  This will cause
  344.             a small increase of the archive size and helps to recover
  345.             archived files in case of floppy disk failure or data losses of
  346.             any other kind. A recovery record contains up to 524288 recovery
  347.             sectors. The number of sectors may be specified directly in the
  348.             'rr' command (N = 1, 2 .. 524288) or if it is not specified by
  349.             the user it will be selected automatically according to the
  350.             archive size: a size of the recovery information will be about
  351.             1% of the total archive size, usually allowing the recovery of
  352.             up to 0.6% of the total archive size of continuously damaged data.
  353.  
  354.             It is also possible to specify the recovery record size in
  355.             percent to the archive size. Just append the percent character
  356.             to the command parameter. For example:
  357.  
  358.             rar rr3% arcname
  359.  
  360.             Note that if you run this command from .bat or .cmd file,
  361.             you need to use rr3%% instead of rr3%, because the command
  362.             processor treats the single '%' character as start of
  363.             batch file parameter. You may also use 'p' instead of '%',
  364.             so 'rr3p' will work too.
  365.  
  366.             If data are damaged continuously then each rr-sector helps to
  367.             recover 512 bytes of damaged information. This value may be
  368.             lower in cases of multiple damage.
  369.  
  370.             The size of the recovery record may be approximately determined
  371.             by the formula <archive size>/256 + <number of recovery
  372.             sectors>*512 bytes.
  373.  
  374.  
  375.     rv[N]   Create recovery volumes (.rev files), which can be later
  376.             used to reconstruct missing and damaged files in a volume
  377.             set. This command has sense only for multivolume archives
  378.             and you need to specify a name of the first volume
  379.             in the set as the archive name. For example:
  380.  
  381.             rar rv3 data.part01.rar
  382.  
  383.             This feature may be useful for backups or, for example,
  384.             when you posted a multivolume archive to a newsgroup
  385.             and a part of subscribers did not receive some files.
  386.             Reposting recovery volumes instead of usual volumes
  387.             may reduce a total number of files to repost.
  388.  
  389.             Each recovery volume is able to reconstruct one missing
  390.             or damaged RAR volume. For example, if you have 30 volumes
  391.             and 3 recovery volumes, you are able to reconstruct any
  392.             3 missing volumes. If number of .rev files is less than
  393.             number of missing volumes, reconstructing is impossible.
  394.             Total number of usual and recovery volumes must not
  395.             exceed 255.
  396.  
  397.             The optional <N> parameter specifies a number of recovery
  398.             volumes to create and must be less than the total number
  399.             of RAR volumes in the set. You may also append a percent
  400.             character to this parameter, in such case the number of
  401.             creating .rev files will be equal to this percent taken
  402.             from the total number of RAR volumes. For example:
  403.  
  404.             rar rv15% data.part01.rar
  405.  
  406.             RAR reconstructs missing and damaged volumes either when
  407.             using 'rc' command or automatically, if it cannot locate
  408.             the next volume and finds the required number of .rev files
  409.             when unpacking.
  410.  
  411.             Original copies of damaged volumes are renamed to *.bad
  412.             before reconstruction. For example, volname.part03.rar
  413.             will be renamed to volname.part03.rar.bad.
  414.             
  415.  
  416.     s[name] Convert archive to SFX. The archive is merged with SFX-module
  417.             (using a module in file default.sfx or specified in the switch).
  418.             In the Windows version default.sfx should be placed in the
  419.             same directory as the rar.exe, in Unix - in the user's
  420.             home directory, in /usr/lib or /usr/local/lib.
  421.  
  422.     s-      Remove SFX module from the already existing SFX archive.
  423.             RAR creates a new archive without SFX module, the original
  424.             SFX archive is not deleted.
  425.  
  426.     t       Test archive files. This command performs a dummy file
  427.             extraction, writing nothing to the output stream, in order to
  428.             validate the specified file(s).
  429.  
  430.             Examples:
  431.  
  432.             Test archives in current directory:
  433.  
  434.             rar t *
  435.  
  436.             or for Unix:
  437.  
  438.             rar t '*'
  439.  
  440.             User may test archives in all sub-directories, starting
  441.             with the current path:
  442.  
  443.             rar t -r *
  444.  
  445.             or for Unix:
  446.  
  447.             rar t -r '*'
  448.  
  449.  
  450.     u       Update files in archive. Adds files not already in the archive
  451.             and updates files changed since they were packed to the archive.
  452.  
  453.  
  454.     v[t,b]  Verbosely list the contents of archive [technical].
  455.             Files are listed using the format: full pathname, file comment,
  456.             original and compressed size, compression ratio, last update
  457.             date and time, attributes, CRC, compression method and minimum
  458.             RAR version required to extract. Optional technical information
  459.             (host OS, solid flag and old file version flag) is displayed
  460.             when 't' modifier is used. Modifier 'b' forces RAR to output
  461.             only bare file names without any additional information.
  462.  
  463.             To list the contents of all archive volumes, use an asterisk
  464.             ('*') in place of the archive file extension or use the '-v'
  465.             switch.
  466.  
  467.             Example:
  468.  
  469.             1) list contents of system.rar archive (technical mode)
  470.                and redirect output to file techlist.lst
  471.  
  472.                rar vt system >techlist.lst
  473.  
  474.             2) list contents of tutorial.rar archive (bare file names mode)
  475.  
  476.                rar vb tutorial
  477.  
  478.  
  479.     x       Extract files with full path.
  480.  
  481.             Example:
  482.  
  483.             rar x -av- -c- dime 10cents.txt
  484.  
  485.             extract specified file to current path. AV check and comment
  486.             show are disabled.
  487.  
  488.  
  489.     Switches (used in conjunction with a command):
  490.  
  491.  
  492.     -?      Display help on commands and switches. The same as when none
  493.             or an illegal command line option is entered.
  494.  
  495.  
  496.     --      Stop switches scanning
  497.  
  498.             This switch tells to RAR that there is no more switches
  499.             in the command line. It could be useful, if either archive
  500.             or file name starts from '-' character. Without '--' switch
  501.             such name would be treated as switch.
  502.  
  503.             Example:
  504.  
  505.             add all files from the current directory to the solid archive
  506.             '-StrangeName'
  507.  
  508.             RAR a -s -- -StrangeName
  509.  
  510.     -ac     Clear Archive attribute after compression or extraction
  511.             (Windows version only).
  512.  
  513.  
  514.     -ad     Append archive name to destination path.
  515.  
  516.             This option may be useful when unpacking a group of archives.
  517.             By default RAR places files from all archives to the same
  518.             directory, but this switch creates a separate directory
  519.             for files unpacked from each archive.
  520.  
  521.             Example:
  522.  
  523.             rar x -ad *.rar data\
  524.  
  525.             RAR will create subdirectories below 'data' for every unpacking
  526.             archive.
  527.  
  528.  
  529.     -ag[format]
  530.             Generate archive name using the current date and time.
  531.  
  532.             Appends the current date string to an archive name when
  533.             creating an archive. Useful for daily backups.
  534.  
  535.             Format of the appending string is defined by the optional
  536.             "format" parameter or by "YYYYMMDDHHMMSS" if this parameter
  537.             is absent. Format string may include the following characters:
  538.  
  539.             Y   - year
  540.             M   - month
  541.             MMM - month name as text string (Jan, Feb, etc.)
  542.             W   - a week number (a week starts with Monday)
  543.             A   - day of week number (Monday is 1, Sunday - 7)
  544.             D   - day of month
  545.             E   - day of year
  546.             H   - hours
  547.             M   - minutes (treated as minutes if encountered after hours)
  548.             S   - seconds
  549.             N   - archive number. RAR searches for already existing archive
  550.                   with generated name and if found, increments the archive
  551.                   number until generating a unique name.
  552.  
  553.             If the first character in the format string is '+', positions
  554.             of the date string and base archive name are exchanged,
  555.             so date will precede an archive name.
  556.  
  557.             All other characters are added to an archive name without
  558.             changes.
  559.  
  560.             Examples:
  561.  
  562.             1) use the default YYYYMMDDHHMMSS format
  563.  
  564.                rar a -ag backup
  565.  
  566.             2) use DD-MMM-YY format
  567.  
  568.                rar a -agDD-MMM-YY backup
  569.  
  570.             3) use YYYYMMDDHHMM format, place date before 'backup'
  571.  
  572.                rar a -ag+YYYYMMDDHHMM backup
  573.  
  574.             4) use YYYY-WW-A format
  575.  
  576.                rar a -agYYYY-WW-A backup
  577.  
  578.             5) use YYYYMMDD and the archive number. It allows to generate
  579.                unique names even when YYYYMMDD format mask used more than
  580.                once in the same day
  581.  
  582.                rar a -agYYYYMMDD-NN backup
  583.  
  584.  
  585.     -ao     Add files with Archive attribute set
  586.             (Windows version only).
  587.  
  588.             Example:
  589.  
  590.             add all disk C: files with Archive attribute set
  591.             to the 'f:backup' and clear files Archive attribute
  592.  
  593.             rar a -r -ac -ao f:backup c:\*.*
  594.  
  595.  
  596.     -ap     Set path inside archive. This path is merged to file
  597.             names when adding files to an archive and removed
  598.             from file names when extracting.
  599.  
  600.             For example, if you wish to add the file 'readme.txt'
  601.             to the directory 'DOCS\ENG' of archive 'release',
  602.             you may run:
  603.  
  604.             rar a -apDOCS\ENG release readme.txt
  605.  
  606.             or to extract 'ENG' to the current directory:
  607.  
  608.             rar x -apDOCS release DOCS\ENG\*.*
  609.  
  610.  
  611.     -as     Synchronize archive contents
  612.  
  613.             If this switch is used when archiving, those archived files
  614.             which are not present in the list of the currently added
  615.             files, will be deleted from archive. It is convenient to use
  616.             this switch in combination with -u (update) to synchronize
  617.             contents of an archive and an archiving directory.
  618.  
  619.             For example, after the command:
  620.  
  621.             rar a -u -as backup sources\*.cpp
  622.  
  623.             the archive 'backup.rar' will contain only *.cpp files
  624.             from directory 'sources', all other files will be deleted
  625.             from the archive. It looks similar to creating a new archive,
  626.             but with the one important exception: if no files are
  627.             modified since a last backup, the operation is performed
  628.             much faster than creation of a new archive.
  629.  
  630.  
  631.     -av     Put authenticity verification (registered versions only).
  632.             RAR will put, in every new and updated archive, information
  633.             concerning the creator, last update time and archive name.
  634.  
  635.             If an archive, containing authenticity verification, is being
  636.             modified and this switch is not specified, the authenticity
  637.             verification information will be removed.
  638.  
  639.             When extracting, testing, listing or updating and archive with
  640.             the '-av' switch, RAR will perform integrity validation and
  641.             display the message:
  642.  
  643.               Verifying authenticity information ...
  644.  
  645.             In the case of successful authenticity verification, the message
  646.             'Ok', creator name and last update information will be
  647.             displayed. In the case of authenticity verification failure, the
  648.             message 'FAILED' will be displayed.
  649.  
  650.             The Authenticity Verification feature, '-av,' is recommended for
  651.             use with archives in a software distribution environment.
  652.  
  653.             In order to enable the Authenticity verification feature, the
  654.             program MUST be registered. Please contact your local
  655.             distribution site or the world-wide distribution center.
  656.  
  657.  
  658.     -av-    Disable authenticity verification checking or adding.
  659.  
  660.  
  661.     -cfg-   Disable read configuration and environment.
  662.  
  663.  
  664.     -cl     Convert file names to lower case.
  665.  
  666.  
  667.     -cu     Convert file names to upper case.
  668.  
  669.  
  670.     -c-     Disable comments show.
  671.  
  672.  
  673.     -df     Delete files after archiving
  674.  
  675.             Move files to archive. This switch in combination with
  676.             the command "A" performs the same action as the command "M".
  677.            
  678.  
  679.     -dh     Open shared files
  680.  
  681.             Allows to process files opened by other applications
  682.             for writing.
  683.  
  684.             This switch helps if an application allowed read access
  685.             to file, but if all types of file access are prohibited,
  686.             file open operation still will fail.
  687.  
  688.             This option could be dangerous, because it allows
  689.             to archive a file, which at the same time is modifying
  690.             by an other application, so use it carefully.
  691.  
  692.  
  693.     -ds     Do not sort files while adding to a solid archive.
  694.  
  695.  
  696.     -ed     Do not add empty directories
  697.  
  698.             This switch indicates that empty directories are not to be
  699.             stored in the created archive.
  700.  
  701.  
  702.     -ee     Do not process extended attributes
  703.  
  704.             Disables saving and restoring extended file attributes.
  705.             Only for OS/2 versions.
  706.  
  707.  
  708.     -en     Do not add "end of archive" block
  709.  
  710.             By default, RAR adds "end of archive" block to the end of new
  711.             or updated archive. It allows to skip external data like
  712.             digital signatures safely, but in some special cases it may be
  713.             useful to disable this feature. For example, if an archive
  714.             is transferred between two systems via a unreliable link and
  715.             at the same time a sender adds new files to it, it may be
  716.             important to be sure that the already received file part will
  717.             not be modified on the other end between transfer sessions.
  718.  
  719.             This switch cannot be used with volumes, because the end
  720.             of archive block contains information important for correct
  721.             volume processing. 
  722.  
  723.  
  724.     -ep     Exclude paths from names. This switch enables files to be added
  725.             to an archive without including the path information. This
  726.             could, of course, result in multiple files existing in the
  727.             archive with the same name.
  728.  
  729.  
  730.     -ep1    Exclude base dir from names. Do not store the path entered in
  731.             the command line.
  732.  
  733.             Example:
  734.  
  735.             all files and directories from the directory tmp will be added
  736.             to the archive 'test', but the path in archived names will not
  737.             include 'tmp\'
  738.  
  739.             rar a -ep1 -r test tmp\*
  740.  
  741.             This is equivalent to the commands:
  742.  
  743.             cd tmp
  744.             rar a -r ..\test
  745.             cd ..
  746.  
  747.  
  748.     -ep2    Expand paths to full. Store full file paths (except a drive
  749.             letter and leading path separator) when archiving.
  750.     
  751.  
  752.     -e<atr> Specifies file exclude attributes mask. <atr> is a number in
  753.             the decimal, octal (with leading '0') or hex (with leading '0x')
  754.             format. If result of bitwise AND between <atr> and file
  755.             attributes is nonzero, file would not be added to archive.
  756.  
  757.             In the Windows version also is possible to use symbols D, S, H,
  758.             A and R instead of digital mask to denote directories and files
  759.             with system, hidden, archive and read-only attributes.
  760.             The order in which the attributes are given is not significant.
  761.  
  762.  
  763.     -f      Freshen files. May be used with archive extraction or creation.
  764.             The command string "a -f" is equivalent to the command 'f', you
  765.             could also use the switch '-f' with the commands 'm' or 'mf'. If
  766.             the switch '-f' is used with the commands 'x' or 'e', then only
  767.             old files would be replaced with new versions extracted from the
  768.             archive.
  769.  
  770.  
  771.     -hp[p]  Encrypt both file data and headers.
  772.  
  773.             This switch is similar to -p[p], but switch -p encrypts
  774.             only file data and leaves other information like file names
  775.             visible. This switch encrypts all sensitive archive areas
  776.             include file data, file names, sizes, attributes, comments
  777.             and other blocks, so it provides a higher security level.
  778.             Without a password it is impossible to view even the list of
  779.             files in archive encrypted with -hp.
  780.  
  781.             Example:
  782.  
  783.             rar a -hpfGzq5yKw secret report.txt
  784.  
  785.             will add the file report.txt to the encrypted archive
  786.             secret.rar using the password 'fGzq5yKw'
  787.  
  788.  
  789.     -idp    Disable percentage indicator.
  790.  
  791.             May be useful when redirecting output to a file.
  792.  
  793.  
  794.     -ieml[.][addr]
  795.             Send archive by email. Win32 version only.
  796.  
  797.             Attach an archive created or updated by the add command
  798.             to email message. You need to have MAPI compliant email
  799.             client to use this switch (most modern email programs
  800.             support MAPI interface).
  801.  
  802.             You may enter a destination email address directly
  803.             in the switch or leave it blank. In the latter case it
  804.             will be asked by your email program. It is possible to
  805.             specify several addresses separated with commas or
  806.             semicolons.
  807.  
  808.             If you append a dot character to -ieml, an archive will be
  809.             deleted after it was successfully attached to email.
  810.             If the switch is used when creating a multivolume archive,
  811.             every volume is attached to separate email message.
  812.  
  813.  
  814.     -ierr   Send all messages to stderr.
  815.  
  816.  
  817.     -ilog[name]
  818.             Log errors to file (registered version only).
  819.  
  820.             Write error messages to the file rar.log created in RAR
  821.             directory. It is possible to specify another log file name
  822.             instead of the default rar.log in the switch, for example,
  823.             -ilogc:\log\backup.log. If the specifed name does not
  824.             include path, the log file will be created in RAR directory.
  825.  
  826.  
  827.     -inul   Disable all messages.
  828.  
  829.  
  830.     -ioff   Turn PC off after completing an operation. The hardware must
  831.             support the power off feature. Win32 version only.
  832.  
  833.  
  834.     -isnd   Enable sound.
  835.  
  836.  
  837.     -k      Lock archive. Any command which intends to change the archive
  838.             will be ignored.
  839.  
  840.  
  841.     -kb     Keep broken extracted files.
  842.  
  843.             RAR, by default, deletes files with CRC errors after
  844.             extraction. The switch -kb specifies that files with
  845.             CRC errors should not be deleted.
  846.  
  847.  
  848.     -m<n>   Set compression method:
  849.  
  850.        -m0   store     do not compress file when adding to archive
  851.        -m1   fastest   use fastest method (less compressive)
  852.        -m2   fast      use fast compression method
  853.        -m3   normal    use normal (default) compression method
  854.        -m4   good      use good compression method (more
  855.                        compressive, but slower)
  856.        -m5   best      use best compression method (slightly more
  857.                        compressive, but slowest)
  858.  
  859.             If this switch is not specified, RAR uses -m3 method
  860.             (normal compression).
  861.  
  862.             By default, RAR uses only the general compression
  863.             algorithm in -m1 and -m2 methods, advanced algorithms
  864.             like audio and true color processing are enabled
  865.             only in -m3..-m5 modes, the advanced text compression
  866.             is activated only in -m4..-m5. This default can be
  867.             overridden using -mc switch.
  868.  
  869.  
  870.     -mc<par>
  871.             Set advanced compression parameters.
  872.  
  873.             This switch is intended mainly for benchmarking and
  874.             experiments, in the real environment usually it is better
  875.             to allow RAR to select optimal parameters automatically.
  876.             Please note that improper use of this switch may lead
  877.             to very serious performance and compression loss, so use
  878.             it only if you clearly understand what you do.
  879.  
  880.             It has the following syntax:
  881.  
  882.             -mc[param1][:param2][module][+ or -]
  883.  
  884.             where <module> is the one character field denoting a part
  885.             of the compression algorithm, which has to be configured.
  886.  
  887.             It may have the following values:
  888.  
  889.               A       - audio compression;
  890.               C       - true color (RGB) data compression;
  891.               D       - delta compression;
  892.               E       - 32-bit x86 executables compression;
  893.               I       - 64-bit Intel Itanium executables compression;
  894.               T       - text compression.
  895.  
  896.             '+' sign at the end of switch applies the selected algorithm
  897.             module to all processed data, '-' disables the module at all.
  898.             If no sign is specified, RAR will choose modules automatically,
  899.             basing on data and the current compression method.
  900.  
  901.             Switch -mc- disables all optional modules and allows only
  902.             the general compression algorithm.
  903.  
  904.             <Param1> and <Param2> are module dependent parameters
  905.             described below.
  906.  
  907.             Audio compression, delta compression:
  908.  
  909.             <Param1> is a number of byte channels (can be 1 - 31).
  910.             RAR splits multibyte channels to bytes, for example,
  911.             two 16-bit audio channels are considered by RAR as four
  912.             channels one byte each.
  913.  
  914.             <Param2> is ignored.
  915.  
  916.  
  917.             32-bit x86 Intel executables compression,
  918.             64-bit Intel Itanium executables compression,
  919.             true color (RGB) data compression:
  920.  
  921.             <Param1> and <Param2> are ignored.
  922.  
  923.  
  924.             Text compression: 
  925.  
  926.             <Param1> is the order of PPM algorithm (can be 2 - 63).
  927.             Usually a higher value slightly increases the compression ratio
  928.             of redundant data, but only if enough memory is available
  929.             to PPM. In case of lack of memory the result may be negative.
  930.             Higher order values decrease both compression and decompression
  931.             speed.
  932.  
  933.             <Param2> is memory in megabytes allocated for PPM (1-128).
  934.             Higher values may increase the compression ratio, but note
  935.             that PPM uses the equal memory size both to compress and
  936.             decompress, so if you allocate too much memory when creating
  937.             an archive, other people may have problems when decompressing
  938.             it on a computer with less memory installed. Decompression
  939.             will be still possible using virtual memory, but it may
  940.             become very slow.
  941.  
  942.  
  943.             Examples:
  944.  
  945.             1) switch -mc1a+ forces use of 8-bit mono audio compression
  946.             for all data.
  947.  
  948.             2) switch -mc10:40t+ forces use of text compression
  949.             algorithm for all data, sets the compression order to 10
  950.             and allocates 40 MB memory.
  951.  
  952.             3) switch -mc12t sets the text compression order to 12,
  953.             when the text compression is used, but leaves to RAR to
  954.             decide when to use it.
  955.  
  956.             4) switches -mct- -mcd- disable text and delta compression.
  957.  
  958.  
  959.     -md<n>  Select dictionary size <n> in KB. Must be 64, 128, 256, 512,
  960.             1024, 2048 or 4096 or a letter 'a', 'b', 'c', 'd', 'e', 'f', 'g'
  961.             respectively.
  962.  
  963.             The sliding dictionary is a special memory area used by the
  964.             compression algorithm. If the size of the file being compressed
  965.             (or the total files size in the case of a solid archive) is
  966.             greater than the dictionary size, then increasing the dictionary
  967.             size will generally increase compression ratio, decrease packing
  968.             speed and increase memory requirements.
  969.  
  970.             RAR can reduce the dictionary size if it is significantly
  971.             larger than size of source data. It helps to reduce memory
  972.             requirements without decreasing compression.
  973.  
  974.             Default sliding dictionary size is 4096 KB.
  975.  
  976.             Example:
  977.  
  978.             RAR a -s -mdd sources *.asm
  979.                 or
  980.             RAR a -s -md512 sources *.asm
  981.  
  982.             Will create a solid archive using a 512 KB dictionary.
  983.  
  984.  
  985.     -ms[list]
  986.             Specify file types to store.
  987.  
  988.             Specify file types, which will be stored without compression.
  989.             This switch may be used to store already compressed files,
  990.             what helps to increase archiving speed without noticeable loss
  991.             in the compression ratio.
  992.  
  993.             Optional <list> parameter defines the list of file extensions
  994.             separated with a semicolon. For example, -msrar;zip;jpg will
  995.             force RAR to store without compression all RAR and ZIP
  996.             archives and JPG images. It is also allowed to specify wildcard
  997.             file masks in the list, so -ms*.rar;*.zip;*.jpg will work too.
  998.  
  999.             If <list> is not specified, -ms switch will use the default
  1000.             set of extensions, which includes the following file types:
  1001.  
  1002.             ace, arj, bz2, cab, gz, jpeg, jpg, lha, lzh, mp3,
  1003.             rar, zip, taz, tgz, z
  1004.  
  1005.  
  1006.     -ol     Save symbolic links as the link instead of the file.
  1007.             Unix version only.
  1008.  
  1009.  
  1010.     -os     Save NTFS streams. Win32 version only.
  1011.  
  1012.             This switch has meaning only for NTFS file system under
  1013.             Windows NT and allows to save alternative data streams
  1014.             associated with a file. It is especially important under
  1015.             Windows 2000 and XP, which use streams to keep some file
  1016.             dependent information like file descriptions. If you use
  1017.             RAR to backup your NTFS disks, it is recommended to specify
  1018.             this switch.
  1019.  
  1020.  
  1021.     -ow     Use this switch when archiving to save file security
  1022.             information and when extracting to restore it.
  1023.  
  1024.             Unix RAR version saves file owner and group when using
  1025.             this switch.
  1026.  
  1027.             Win32 version stores owner, group, file permissions and
  1028.             audit information, but only if you have necessary privileges
  1029.             to read them. Note that only NTFS file system supports
  1030.             file based security under Windows.
  1031.  
  1032.     -o+     Overwrite existing files.
  1033.  
  1034.  
  1035.     -o-     Do not overwrite existing files.
  1036.  
  1037.  
  1038.     -p[p]   Encrypt files with the string <p> as password while archiving.
  1039.             The password is case-sensitive. If you omit the password on the
  1040.             command line, you will be prompted with message "Enter password".
  1041.  
  1042.             Example:
  1043.  
  1044.             rar a -pmyhoney secret1 *.txt
  1045.  
  1046.             add files *.txt and encrypt them with password "myhoney".
  1047.  
  1048.  
  1049.     -p-     Do not query password
  1050.  
  1051.  
  1052.     -r      Recurse subdirectories. May be used with commands:
  1053.             a, u, f, m, x, e, t, p, v, l, c, cf and s.
  1054.  
  1055.             When used with the commands 'a', 'u', 'f', 'm' will process
  1056.             files in all sub-directories as well as the current working
  1057.             directory.
  1058.  
  1059.             When used with the commands x, e, t, p, v, l, c, cf or s will
  1060.             process all archives in sub-directories as well as the current
  1061.             working directory.
  1062.  
  1063.  
  1064.     -r0     Similar to -r, but when used with the commands 'a', 'u', 'f',
  1065.             'm' will recurse subdirectories only for those names, which
  1066.             include wildcard characters '*' and '?'
  1067.  
  1068.  
  1069.     -ri<p>[:<s>]
  1070.             Set priority and sleep time. Available only in RAR for Windows.
  1071.             This switch is used to regulate system load by RAR in a
  1072.             multitasking environment. The possible task priority values are
  1073.             from 0 to 15. When <p> is equal to 0, the default task priority
  1074.             is used, 1 corresponding to the lowest task priority, 15 - to
  1075.             the highest. The sleep time <s> is a value from 0 to 1000
  1076.             (milliseconds). This is the period of time that RAR will give
  1077.             back to system after every read or write during the packing or
  1078.             unpacking operation. The sleep time setting is useful when
  1079.             several tasks with the same priority are running in the system.
  1080.  
  1081.             Example:
  1082.  
  1083.             execute RAR with default priority and 10 ms of sleep after
  1084.             each read or write
  1085.  
  1086.             rar a -r -sfx -ri0:10 backup *.*
  1087.  
  1088.  
  1089.     -rr[N]  Add a data recovery record. This switch is used when creating or
  1090.             modifying archive to add a data recovery record to the archive.
  1091.             See the 'rr[N]' command description for details.
  1092.  
  1093.  
  1094.     -rv[N]  Create recovery volumes. This switch is used when creating
  1095.             a multivolume archive to generate recovery volumes.
  1096.             See the 'rv[N]' command description for details.
  1097.  
  1098.  
  1099.     -s      Create solid archive. Solid is a special archive type. Please
  1100.             refer to the appendix "Glossary" for further information.
  1101.  
  1102.             Example:
  1103.  
  1104.             create solid archive sources.rar with 512 KB dictionary,
  1105.             recursing all directories, starting with the current directory.
  1106.             Add only .asm files:
  1107.  
  1108.             rar a -s -md512 sources.rar *.asm -r
  1109.  
  1110.  
  1111.     -s<N>   Create solid groups using file count
  1112.  
  1113.             Similar to -s, but reset solid statistics after compressing
  1114.             <N> files. Usually decreases compression, but also
  1115.             decreases losses in case of solid archive damages.
  1116.  
  1117.  
  1118.     -se     Create solid groups using extension
  1119.  
  1120.             Similar to -s, but reset solid statistics if file extension
  1121.             is changed. Usually decreases compression, but also
  1122.             decreases losses from solid archive damages.
  1123.  
  1124.  
  1125.     -sv     Create independent solid volumes
  1126.  
  1127.             By default RAR tries to reset solid statistics as soon
  1128.             as possible when starting a new volume, but only 
  1129.             if a lot enough data was packed after a previous reset
  1130.             (at least a few megabytes).
  1131.  
  1132.             This switch forces RAR to ignore packed data size and attempt
  1133.             to reset statistics for volumes of any size. It decreases
  1134.             compression, but increases chances to extract a part of data 
  1135.             if one of solid volumes in volume set was lost or damaged.
  1136.  
  1137.             Note that sometimes RAR cannot reset statistics even
  1138.             using this switch. For example, it cannot be done when 
  1139.             compressing one large file split between several volumes.
  1140.             RAR is able to reset solid statistics only between separate 
  1141.             files, but not inside of single file.
  1142.  
  1143.             Ignored, if used to create non-volume archive.
  1144.  
  1145.  
  1146.     -sv-    Create dependent solid volumes
  1147.  
  1148.             Disables to reset solid statistics between volumes.
  1149.  
  1150.             It slightly increases compression, but significantly reduces 
  1151.             chances to extract a part of data if one of solid volumes 
  1152.             in volume set was lost or damaged.
  1153.  
  1154.             Ignored, if used to create non-volume archive.
  1155.  
  1156.  
  1157.     -s-     Disable solid archiving
  1158.  
  1159.  
  1160.     -sfx[name]
  1161.             Create SFX archives. If this switch is used when creating a new
  1162.             archive, a Self-Extracting archive (using a module in file
  1163.             default.sfx or specified in the switch) would be created.
  1164.             In the Windows version default.sfx should be placed in the
  1165.             same directory as the rar.exe, in Unix - in the user's
  1166.             home directory, in /usr/lib or /usr/local/lib.
  1167.  
  1168.             Example:
  1169.  
  1170.             rar a -sfxwincon.sfx myinst
  1171.  
  1172.             create SelF-eXtracting (SFX) archive using wincon.sfx
  1173.             SFX-module.
  1174.  
  1175.  
  1176.     -t      Test files after archiving. This switch is especially
  1177.             useful in combination with the move command, so files will be
  1178.             deleted only if archive had been successfully tested.
  1179.  
  1180.  
  1181.     -ta<date>
  1182.             Process only files modified after the specified date.
  1183.  
  1184.             Format of the date string is YYYYMMDDHHMMSS.
  1185.             It is allowed to insert separators like '-' or ':' to
  1186.             the date string and omit trailing fields. For example,
  1187.             the following switch is correct: -ta2001-11-20
  1188.             Internally it will be expanded to -ta20011120000000
  1189.             and treated as "files modified after 0 hour 0 minutes
  1190.             0 seconds of 20 November 2001".
  1191.  
  1192.  
  1193.     -tb<date>
  1194.             Process only files modified before the specified date.
  1195.             Format of the switch is the same as -ta<date>.
  1196.  
  1197.  
  1198.     -tk     Keep original archive date. Prevents RAR from modifying the
  1199.             archive date when changing an archive.
  1200.  
  1201.  
  1202.     -tl     Set archive time to newest file. Forces RAR to set the date of a
  1203.             changed archive to the date of the newest file in the archive.
  1204.  
  1205.  
  1206.     -tn<time>
  1207.             Process files newer than the specified time period. Format
  1208.             of the time string is:
  1209.  
  1210.             [<ndays>d][<nhours>h][<nminutes>m][<nseconds>s]
  1211.  
  1212.             For example, use switch -tn15d to process files newer
  1213.             than 15 days and -tn2h30m to process files newer than
  1214.             2 hours 30 minutes.
  1215.  
  1216.  
  1217.     -to<time>
  1218.             Process files older than the specified time period. Format
  1219.             of the switch is the same as -tn<time>.
  1220.  
  1221.  
  1222.     -ts<m,c,a>[N]
  1223.             Save or restore file time (modification, creation, access).
  1224.  
  1225.             Switch -tsm instructs RAR to save file modification time,
  1226.             -tsc - creation time and tsa - last access time. Optional
  1227.             parameter after the switch is the number between 0 and 4
  1228.             controlling the file time precision. Value '1' enables
  1229.             1 second precision, 2 - 1/256 sec, 3 - 1/65536 and 4 or '+'
  1230.             enables the maximum NTFS time precision, which is equal
  1231.             to 0.0000001 sec. Value '0' or '-' means that creation
  1232.             and access time are not saved and low (two seconds) precision
  1233.             is used for modification time. Higher precision modes add
  1234.             more data to archive, up to 19 additional bytes per file
  1235.             in case of -tsm4 -tsa4 -tsc4 combination. If no precision
  1236.             is specified, RAR uses '4' (high) value.
  1237.  
  1238.             Default RAR mode is -tsm4 -tsc0 -tsa0, so modification time
  1239.             is stored with the high precision and other times are ignored.
  1240.  
  1241.             It is necessary to specify -tsc and -tsa switches to set
  1242.             creation and access time when unpacking files (precision
  1243.             is irrelevant, but must not be 0). By default RAR sets
  1244.             only the modification time, even if archive contains
  1245.             creation and last access time. Setting the modification
  1246.             time to unpacked files may be also disabled with -tsm-.
  1247.  
  1248.             It is possible to omit the time type letter if you need
  1249.             to apply the switch to all three times. For example,
  1250.             -tsm4 -tsa4 -tsc4 can be replaced by -ts4, -ts+ or -ts.
  1251.             Use -ts- to save only the low precision modification time
  1252.             or to ignore all three file times on unpacking.
  1253.  
  1254.             When creating an archive, RAR automatically reduces
  1255.             the precision if high mode is not supported by the file
  1256.             system. It is not more than 2 seconds on FAT and 1 second
  1257.             in Unix. NTFS time precision is 0.0000001 second.
  1258.  
  1259.             Operating systems limit which time can be set on unpacking.
  1260.             Windows allow to set all three times, Unix - modification
  1261.             and last access, but not creation, DOS supports only
  1262.             the modification time.
  1263.  
  1264.             Examples:
  1265.  
  1266.             1) rar a -ts backup
  1267.  
  1268.             Store all file times with the highest possible precision.
  1269.  
  1270.             2) rar x -tsa backup
  1271.  
  1272.             Restore modification and last access time. Switch -tsm
  1273.             is not required, because RAR uses it by default.
  1274.  
  1275.             3) rar a -tsm1 -tsc1 backup
  1276.  
  1277.             Store low precision modification and creation time.
  1278.             Without -tsm1 RAR would save the high precision modification
  1279.             time.
  1280.  
  1281.  
  1282.     -u      Update files. May be used with archive extraction or creation.
  1283.             The command string "a -u" is equivalent to the command 'u', you
  1284.             could also use the switch '-u' with the commands 'm' or 'mf'. If
  1285.             the switch '-u' is used with the commands 'x' or 'e', then files
  1286.             not present on the disk and files newer than their copies on the
  1287.             disk would extracted from the archive.
  1288.  
  1289.  
  1290.     -v      Create volumes with size autodetection or list all volumes
  1291.  
  1292.             This switch may be used when creating or listing volumes.
  1293.  
  1294.             In the first case it enables volume size autodetection,
  1295.             so new volumes will use all available space on the destination
  1296.             media. It is convenient when creating volumes on removable
  1297.             disks. You may read more about volumes in -v<size> description.
  1298.  
  1299.             In the second case, when this switch is used together with
  1300.             'V' or 'L' command, it forces RAR to list contents of all
  1301.             volumes starting from the specified in the command line.
  1302.             Without this switch RAR displays contents of only single
  1303.             specified volume.
  1304.  
  1305.  
  1306.     -v<size>[k|b|f|m|M]
  1307.             Create volumes with size=<size>*1000 [*1024 | *1].
  1308.             By default this switch uses <size> as thousands (1000) of bytes
  1309.             (not 1024 x bytes). You may also enter the size in kilobytes
  1310.             using the symbol 'k', in bytes using the symbol 'b',
  1311.             in megabytes - 'm', in millions of bytes - 'M' or select
  1312.             one of several predefined values using the symbol 'f'
  1313.             following the numerical value. Predefined values can be
  1314.             360, 720, 1200, 1440 or 2880 and replaced with corresponding
  1315.             floppy disk size.
  1316.  
  1317.             If the size is omitted, autodetection will be used.
  1318.  
  1319.             If volumes are created on removable media, then after
  1320.             the first volume has been created, user will be prompted
  1321.             with:
  1322.  
  1323.               Create next volume: Yes/No/All
  1324.  
  1325.             At this moment in time, you should change the disks. Answering
  1326.             'A' will cause all volumes to be created without a pause.
  1327.  
  1328.             By default RAR volumes have names like 'volname.partNNN.rar',
  1329.             where NNN is the volume number. Using -vn switch it is 
  1330.             possible to switch to another, extension based naming scheme,
  1331.             where the first volume file in a multi-volume set has
  1332.             the extension .rar, following volumes are numbered from .r00
  1333.             to .r99.
  1334.  
  1335.             When extracting or testing a multi-volume archive you must use
  1336.             only the first volume name. If there is no next volume
  1337.             on the drive and the disk is removable, the user will be
  1338.             prompted with:
  1339.  
  1340.              Insert disk with <next volume name>
  1341.  
  1342.             Insert the disk with the correct volume and press any key.
  1343.  
  1344.             If while extracting, the next volume is not found and volumes
  1345.             are placed on the non-removable disk, RAR will abort with
  1346.             the error message:
  1347.  
  1348.              Cannot find <volume name>
  1349.  
  1350.             Archive volumes may not be modified. The commands 'd', 'f', 'u',
  1351.             's' cannot be used with Multi-volume sets. The command 'a' may
  1352.             be used only for the creation of a new multi-volume sequence.
  1353.  
  1354.             It is possible, although unlikely, that the file size, of a file
  1355.             in a multi-volume set, could be greater than it's uncompressed
  1356.             size. This is due to the fact that 'storing' (no compression if
  1357.             size increases) cannot be enabled for multi-volume sets.
  1358.  
  1359.             Archive volumes may be Self-Extracting (SFX). Such an archive
  1360.             should be created using both the '-v' and '-sfx' switches.
  1361.  
  1362.             Example:
  1363.  
  1364.             create archive in volumes of fixed size:
  1365.  
  1366.             rar a -s -v1440 floparch.rar *.*
  1367.  
  1368.             will create solid volumes of size 1440000 bytes.
  1369.  
  1370.  
  1371.     -vd     Erase disk contents before creating volume
  1372.  
  1373.             All files and directories on the target disk will be erased
  1374.             when '-vd' is used.  The switch applies only to removable
  1375.             media, the hard disk cannot be erased using this switch.
  1376.  
  1377.  
  1378.     -ver[n] File version control
  1379.  
  1380.             Forces RAR to keep previous file versions when updating
  1381.             files in the already existing archive. Old versions are
  1382.             renamed to 'filename;n', where 'n' is the version number.
  1383.  
  1384.             By default, when unpacking an archive without the switch
  1385.             -ver, RAR extracts only the last added file version, which
  1386.             name does not include a numeric suffix. But if you specify
  1387.             a file name exactly, including a version, it will be also
  1388.             unpacked. For example, 'rar x arcname' will unpack only
  1389.             last versions, when 'rar x arcname file.txt;5' will unpack
  1390.             'file.txt;5', if it is present in the archive.
  1391.  
  1392.             If you specify -ver switch without a parameter when unpacking,
  1393.             RAR will extract all versions of all files matched to entered
  1394.             file mask. In this case a version number is not removed from
  1395.             unpacked file names. You may also extract a concrete file
  1396.             version specifying its number as -ver parameter. It will tell
  1397.             RAR to unpack only this version and remove a version number
  1398.             from file names. For example, 'rar x -ver5 arcname' will
  1399.             unpack only 5th file versions.
  1400.  
  1401.  
  1402.     -vn     Use the old style volume naming scheme
  1403.  
  1404.             By default RAR volumes have names like 'volname.partNNN.rar',
  1405.             where NNN is the volume number. Using -vn switch it is 
  1406.             possible to switch to another, extension based naming scheme,
  1407.             where the first volume file in a multi-volume set has
  1408.             the extension .rar, following volumes are numbered from .r00
  1409.             to .r99. It may have sense, if you are going to unpack
  1410.             an archive under the plain MS DOS, which does not allow
  1411.             more than one dot in a file name.
  1412.  
  1413.  
  1414.     -vp     Pause before each volume
  1415.  
  1416.             By default RAR asks for confirmation before creating or 
  1417.             unpacking next volume only for removable drives.
  1418.             This switch forces RAR to ask such confirmation always.
  1419.             It can be useful if disk space is limited and you wish
  1420.             to copy each volume to another media immediately after
  1421.             creating.
  1422.  
  1423.  
  1424.     -w<p>   Assign work directory as <p>. This switch may be used to assign
  1425.             the directory for temporary files.
  1426.  
  1427.  
  1428.     -x<f>   Exclude specified file <f>, wildcards may be used both
  1429.             in the name and file parts of file mask. You may specify
  1430.             the switch '-x' several times:
  1431.  
  1432.             Examples:
  1433.  
  1434.             1) rar a -r -x*.bak -x*.rar rawfiles
  1435.  
  1436.             *.bak and *.rar files will not be added to rawfiles
  1437.  
  1438.             2) rar a -r -x*\temp\* savec c:\*
  1439.  
  1440.             compress all files on the disk c: except those in temp folders
  1441.  
  1442.  
  1443.     -x@<lf> Exclude files using specified list file.
  1444.  
  1445.             Example:
  1446.  
  1447.             rar a -x@exlist.txt arch *.exe
  1448.  
  1449.  
  1450.     -y      Assume Yes on all queries.
  1451.  
  1452.  
  1453.     -z<f>   Read archive comment from file <f>.
  1454.  
  1455.  
  1456.  Limitations
  1457.  ~~~~~~~~~~~
  1458.  
  1459.     Pathname is limited to 259 symbols.
  1460.  
  1461.     Maximum archive comment length is 62000 bytes.
  1462.  
  1463.     Command limitations:
  1464.  
  1465.     The commands 'd','u','f','c','cf' will not operate with archive
  1466.     volumes.
  1467.  
  1468.     The command 'a' cannot be used to update an archive volume, only to
  1469.     create one.
  1470.  
  1471.  
  1472.  Exit values
  1473.  ~~~~~~~~~~~
  1474.  
  1475.     RAR exits with a zero code (0) in case of successful operation. The exit
  1476.     code of non-zero means the operation is cancelled due to error:
  1477.  
  1478.      255   USER BREAK       User stopped the process
  1479.  
  1480.        9   CREATE ERROR     Create file error
  1481.  
  1482.        8   MEMORY ERROR     Not enough memory for operation
  1483.  
  1484.        7   USER ERROR       Command line option error
  1485.  
  1486.        6   OPEN ERROR       Open file error
  1487.  
  1488.        5   WRITE ERROR      Write to disk error
  1489.  
  1490.        4   LOCKED ARCHIVE   Attempt to modify an archive previously locked
  1491.                             by the 'k' command
  1492.  
  1493.        3   CRC ERROR        A CRC error occurred when unpacking
  1494.  
  1495.        2   FATAL ERROR      A fatal error occurred
  1496.  
  1497.        1   WARNING          Non fatal error(s) occurred
  1498.  
  1499.        0   SUCCESS          Successful operation (User exit)
  1500.  
  1501.  
  1502.  Glossary
  1503.  ~~~~~~~~
  1504.  
  1505.     Archive      Special file containing one or more files optionally
  1506.                  compressed and/or encrypted.
  1507.  
  1508.     Compression  A method of encoding data to reduce it's size.
  1509.  
  1510.     CRC          Cyclic Redundancy Check. Mathematical method calculating
  1511.                  special checking information for data validity.
  1512.  
  1513.     SFX          Archive module used to extract files from when executed.
  1514.                  (SelF-eXtracting module), usually in the form of a .EXE
  1515.                  file.
  1516.  
  1517.     Solid        An archive packed using a special compression method which
  1518.                  sees all files as one continuous data stream. Particularly
  1519.                  advantageous when packing a large number of small files.
  1520.  
  1521.     Volume       Part of a split archive. Splitting an archive to volumes
  1522.                  allows storing them on diskettes. Solid volumes must be
  1523.                  extracted starting from first in sequence.
  1524.  
  1525.  
  1526.  
  1527.  Copyrights
  1528.  
  1529.     (c) 1993-2002 Eugene Roshal
  1530.  
  1531.  
  1532.  
  1533.