home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 May / CHIPCD200305.iso / soft / WinRAR / rarx311.exe / rar / rar.txt < prev    next >
Encoding:
Text File  |  2003-01-13  |  54.0 KB  |  1,438 lines

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