home *** CD-ROM | disk | FTP | other *** search
/ ftp.rarlab.com / 2014.05.ftp.rarlab.com.tar / ftp.rarlab.com / rar / rarsco.sfx / Rar.Txt < prev    next >
Text File  |  1997-02-10  |  31KB  |  827 lines

  1.                              User's Manual
  2.                              ~~~~~~~~~~~~~
  3.             RAR 2.01 32-bit console version (Unix and Windows)
  4.             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5.  
  6.                        =-=-=-=-=-=-=-=-=-=-=-=-=-=-
  7.                        Welcome to the RAR Archiver!
  8.                        -=-=-=-=-=-=-=-=-=-=-=-=-=-=
  9.  
  10.  Introduction
  11.  ~~~~~~~~~~~~
  12.  
  13.     RAR is a powerful tool which allows you to manage and control archive
  14.   files. The archive is usually a regular file, which name has a ".rar"
  15.   suffix.
  16.  
  17.   RAR features include:-
  18.  
  19.     *  Highly sophisticated, original compression algorithm
  20.     *  Special compression algorithm optimized for multimedia data
  21.     *  Better compression than similar tools, using 'solid' archiving
  22.     *  Authenticity verification (registered version only)
  23.     *  Self-extracting archives and volumes (SFX)
  24.     *  Ability to recover physically damaged archives
  25.     *  Locking, password, file order list, disk volume labels & more ...
  26.  
  27.  
  28.  Configuration file
  29.  ~~~~~~~~~~~~~~~~~~
  30.  
  31.   RAR for Unix reads configuration information from the file .rarrc in the
  32.   user's home directory (stored in HOME environment variable).
  33.  
  34.   RAR for Windows reads configuration information from the file rar.ini,
  35.   placed in the same directory as the rar.exe file.
  36.  
  37.   This file may contain the following strings:
  38.  
  39.   switches=<any RAR switches, separated with a space>
  40.   regname=<your registration name>
  41.   regcode=<your code as stated in registration>
  42.  
  43.  
  44.  Log file
  45.  ~~~~~~~~
  46.  
  47.   If the switch -ilog is specified in the command line or configuration
  48.   file, RAR will write informational messages, concerning errors
  49.   encountered while processing archives, to a log file.  In Unix this file
  50.   is named .rarlog and placed in the user's home directory. In Windows it
  51.   is named rar.log and placed in the same directory as the rar.exe file.
  52.  
  53.  
  54.  The file order list for solid archiving - RARFILES.LST
  55.  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  56.  
  57.   RARFILES.LST contains user-defined file list which tells RAR
  58.   the order to add files to a solid archive. It may contain file
  59.   names, wildcards and special entry - $default. The default
  60.   entry defines the place in order list for files not matched
  61.   with other entries in this file. The comment character is ';'.
  62.  
  63.   This file should be placed in the same directory as RAR.
  64.  
  65.   Tips to provide improved compression and speed of operation:
  66.  
  67.   - similar files should be grouped together in the archive;
  68.   - frequently accessed files should be placed at the beginning.
  69.  
  70.  
  71.  RAR command line syntax
  72.  ~~~~~~~~~~~~~~~~~~~~~~~
  73.  
  74.  Syntax
  75.  
  76.     RAR <command> [ -<switches> ] <archive> <@listfiles...> [ <files...> ]
  77.  
  78.  Description
  79.  
  80.     Command line options (commands and switches) provides control of
  81.     creating and managing archives with RAR. The command is a string (or a
  82.     single letter) which commands RAR to perform a corresponding action.
  83.     Switches are designed to modify the way RAR performs the action. Other
  84.     parameters are archive name and files to be archived into or extracted
  85.     from the archive.
  86.  
  87.     In a UNIX environment you need to quote wildcards to avoid them being
  88.     processed by RAR itself. For example, this command will extract
  89.     *.asm files from RAR archives in current path:
  90.  
  91.        rar e '*.rar' '*.asm'
  92.  
  93.  
  94.     Command could be any of the following:
  95.  
  96.     a       Add files to archive.
  97.  
  98.             Example:
  99.  
  100.             rar a myarch
  101.  
  102.             Create or update existent archive myarch, adding all files
  103.             in the current directory:
  104.  
  105.  
  106.     c       Add archive comment. Comments are displayed while the archive is
  107.             being processed. Comment length is limited to 62000 bytes
  108.  
  109.             Examples:
  110.  
  111.             rar c distrib.rar
  112.  
  113.             Also comments may be added from a file:
  114.  
  115.             rar c -zinfo.txt dummy
  116.  
  117.  
  118.     cf      Add files comment. File comments are displayed when the 'v'
  119.             command is given. File comment length is limited to 32767 bytes.
  120.  
  121.             Example:
  122.  
  123.             rar cf bigarch *.txt
  124.  
  125.  
  126.     cw      Write archive comment to specified file.
  127.  
  128.             Example:
  129.  
  130.             rar cw oldarch comment.txt
  131.  
  132.  
  133.     d       Delete files from archive. Note, if the processing of this
  134.             command resulted in removing all the files from the archive, the
  135.             empty archive would removed.
  136.  
  137.  
  138.     e       Extract files to current directory.
  139.  
  140.  
  141.     f       Freshen files in archive. Updates those files changed since they
  142.             were packed to the archive. This command will not add new files
  143.             to the archive.
  144.  
  145.  
  146.     k       Lock archive. Any command which intend to change the archive
  147.             will be ignored.
  148.  
  149.             Example:
  150.  
  151.             rar k final.rar
  152.  
  153.  
  154.     l[t]    List contents of archive [technical]. Files are listed as with
  155.             the 'v' command with the exception of the file path. i.e. only
  156.             the file name is displayed. Optional technical information is
  157.             displayed when 't' modifier is used.
  158.  
  159.  
  160.     m[f]    Move to archive [files only]. Moving files and directories
  161.             results in the files and directories being erased upon
  162.             successful completion of the packing operation. Directories will
  163.             not be removed if 'f' modifier is used and/or '-ed' switch is
  164.             applied.
  165.  
  166.  
  167.     p       Print file to stdout.
  168.  
  169.  
  170.     r       Repair archive. Archive repairing is performed in two stages.
  171.             First, the damaged archive is searched for a recovery record
  172.             (see 'rr' command). If the archive contains a recovery record
  173.             and if the portion of the damaged data is continuous and less
  174.             than N*512 bytes, where N is number of recovery sectors placed
  175.             into the archive, the chance of successful archive
  176.             reconstruction is very high. When this stage has completed, a
  177.             new archive will be created, called _RECOVER.RAR.
  178.  
  179.             If a broken archive does not contain a recovery record or if
  180.             the archive is not completely recovered due to major damage, a
  181.             second stage is performed. During this stage only the archive
  182.             structure is reconstructed and it is impossible to recover
  183.             files which fail the CRC validation, it is still possible to
  184.             recover undamaged files which were inaccessible due to the
  185.             broken archive structure. Mostly this is useful for non-solid
  186.             archives.
  187.  
  188.             When the second stage is completed, the reconstructed archive
  189.             will be saved as _RECONST.RAR.
  190.  
  191.             While the recovery is in progress, RAR may prompt the user for
  192.             assistance when a suspicious file is detected.
  193.  
  194.                       Suspicious entry
  195.  
  196.               Name:  <possibly filename>
  197.               Size:  <size>    Packed: <compressed size>
  198.  
  199.                       Add it: Yes/No/All
  200.  
  201.             Answer 'y' to add this entry to the file _RECOVER.RAR.
  202.  
  203.             Example:
  204.  
  205.             rar r buggy.rar
  206.  
  207.  
  208.     rr[N]   Add data recovery record. Optionally, redundant information
  209.             (recovery record) may be added to an archive.  This will cause
  210.             a small increase of the archive size and helps to recover
  211.             archived files in case of floppy disk failure or data losses of
  212.             any other kind. A recovery record contains up to 8 recovery
  213.             sectors. The number of sectors may be specified directly in the
  214.             'rr' command (N = 1, 2 .. 8) or if it is not specified by the
  215.             user it will be selected automatically according to the archive
  216.             size:
  217.  
  218.                    Archive size       Number of sectors
  219.                      < 50Kb                   2
  220.                      50Kb-500Kb               4
  221.                      > 500Kb                  8
  222.  
  223.             If data are damaged continuously then each rr-sector helps to
  224.             recover 512 bytes of damaged information. This value may be
  225.             lower in cases of multiple damage.
  226.  
  227.             The size of the recovery record may be approximately determined
  228.             by the formula <archive size>/256 + <number of recovery
  229.             sectors>*512 bytes.
  230.  
  231.  
  232.     s[name] Convert archive to SFX. The archive is merged with SFX-module
  233.             (using a module in file default.sfx or specified in the switch).
  234.             In the Windows version default.sfx should be placed in the
  235.             same directory as the rar.exe, in Unix - in the user's home
  236.             directory.
  237.  
  238.     t       Test archive files. This command performs a dummy file
  239.             extraction, writing nothing to the output stream, in order to
  240.             validate the specified file(s).
  241.  
  242.             Examples:
  243.  
  244.             Test archives in current directory:
  245.  
  246.             rar t *
  247.  
  248.             or for Unix:
  249.  
  250.             rar t '*'
  251.  
  252.             User may test archives in all sub-directories, starting
  253.             with the current path:
  254.  
  255.             rar t -r *
  256.  
  257.             or for Unix:
  258.  
  259.             rar t -r '*'
  260.  
  261.  
  262.     u       Update files in archive. Adds files not already in the archive
  263.             and updates files changed since they were packed to the archive.
  264.  
  265.  
  266.     v[t]    Verbosely list the contents of archive [technical].
  267.             Files are listed using the format: full pathname, file comment,
  268.             original and compressed size, compression ratio, last update
  269.             date and time, attributes, CRC, compression method and minimum
  270.             RAR version required to extract. Optional technical information
  271.             is displayed when 't' modifier is used.
  272.  
  273.             To list the contents of all archive volumes, use an asterisk
  274.             ('*') in place of the archive file extension or use the '-v'
  275.             switch.
  276.  
  277.             Example:
  278.  
  279.             rar vt bambam >bambam.lst
  280.  
  281.             direct archive content list (technical) to a file:
  282.  
  283.  
  284.     x       Extract files with full path.
  285.  
  286.             Example:
  287.  
  288.             rar x -av- -c- dime 10cents.txt
  289.  
  290.             extract specified file to current path. AV check and comment
  291.             show are disabled.
  292.  
  293.  
  294.     Switches (used in conjunction with a command):
  295.  
  296.  
  297.     -?      Display help on commands and switches. The same as when none
  298.             or an illegal command line option is entered.
  299.  
  300.     -ac     Clear Archive attribute after compression
  301.             (Windows version only).
  302.  
  303.     -ao     Add files with Archive attribute set
  304.             (Windows version only).
  305.  
  306.             Example:
  307.  
  308.             add all disk C: files with Archive attribute set
  309.             to the 'f:backup' and clear files Archive attribute
  310.  
  311.             rar a -r -ac -ao f:backup c:\*.*
  312.  
  313.     -av     Put authenticity verification (registered versions only).
  314.             RAR will put, in every new and updated archive, information
  315.             concerning the creator, last update time and archive name.
  316.  
  317.             If an archive, containing authenticity verification, is being
  318.             modified and this switch is not specified, the authenticity
  319.             verification information will be removed.
  320.  
  321.             When extracting, testing, listing or updating and archive with
  322.             the '-av' switch, RAR will perform integrity validation and
  323.             display the message:
  324.  
  325.               Verifying authenticity information ...
  326.  
  327.             In the case of successful authenticity verification, the message
  328.             'Ok', creator name and last update information will be
  329.             displayed. In the case of authenticity verification failure, the
  330.             message 'FAILED' will be displayed.
  331.  
  332.             The Authenticity Verification feature, '-av,' is recommended for
  333.             use with archives in a software distribution environment.
  334.  
  335.             In order to enable the Authenticity verification feature, the
  336.             program MUST be registered. Please contact your local
  337.             distribution site or the world-wide distribution center.
  338.  
  339.  
  340.     -av-    Disable AV checking or adding.
  341.  
  342.  
  343.     -cfg-   Disable read configuration and environment.
  344.  
  345.  
  346.     -cl     Convert file names to lower case.
  347.  
  348.  
  349.     -cu     Convert file names to upper case.
  350.  
  351.  
  352.     -c-     Disable comments show.
  353.  
  354.  
  355.     -ds     Do not sort files while adding to a solid archive.
  356.  
  357.  
  358.     -ep     Exclude paths from names. This switch enables files to be added
  359.             to an archive without including the path information. This
  360.             could, of course, result in multiple files existing in the
  361.             archive with the same name.
  362.  
  363.  
  364.     -ep1    Exclude base dir from names. Do not store the path entered in
  365.             the command line.
  366.  
  367.             Example:
  368.  
  369.             all files and directories from the directory tmp will be added
  370.             to the archive 'pasta', but the path will not include 'tmp\'
  371.  
  372.             rar a -ep1 -r pasta 'tmp\*'
  373.  
  374.             This is equivalent to the commands:
  375.  
  376.             cd tmp
  377.             rar a -ep1 -r pasta
  378.             cd ..
  379.  
  380.  
  381.     -e<atr> Specifies file exclude attributes mask. <atr> is a number in the
  382.             decimal, octal (with leading '0') or hex (with leading '0x')
  383.             format. If result of bitwise AND between <mask> and file
  384.             attributes is nonzero, then file would not be added to archive.
  385.  
  386.             In the Windows version also is possible to use instead of
  387.             digital mask symbols D, S, H, A and R to denote directories
  388.             and files with system, hidden, archive and read-only attributes.
  389.             The order in which the attributes are given is not significant.
  390.  
  391.  
  392.     -f      Freshen files. May be used with archive extraction or creation.
  393.             The command string "a -f" is equivalent to the command 'f', you
  394.             could also use the switch '-f' with the commands 'm' or 'mf'. If
  395.             the switch '-f' is used with the commands 'x' or 'e', then only
  396.             old files would be replaced with new versions extracted from the
  397.             archive.
  398.  
  399.  
  400.     -ierr   Send all messages to stderr.
  401.  
  402.  
  403.     -ilog   Log errors to file.
  404.  
  405.  
  406.     -inul   Disable all messages.
  407.  
  408.  
  409.     -isnd   Enable sound.
  410.  
  411.  
  412.     -kb     Keep broken extracted files.
  413.  
  414.             RAR, by default, deletes files with CRC errors after
  415.             extraction. The switch -kb specifies that files with
  416.             CRC errors should not be deleted.
  417.  
  418.  
  419.     -m<n>   Set compression method:
  420.  
  421.        -m0   store     do not compress file when adding to archive
  422.        -m1   fastest   use fastest method (less compressive)
  423.        -m2   fast      use fast compression method
  424.        -m3   normal    use normal (default) compression method
  425.        -m4   good      use good compression method (more
  426.                        compressive, but slower)
  427.        -m5   best      use best compression method (slightly more
  428.                        compressive, but slowest)
  429.  
  430.             By default RAR uses -m3 method (Normal compression).
  431.  
  432.  
  433.     -md<n>  Select dictionary size <n> in Kb. Must be 64, 128, 256, 512 or
  434.             1024. or a letter 'a', 'b', 'c', 'd' or 'e' respectively.
  435.  
  436.             The sliding dictionary is a special memory area used by the
  437.             compression algorithm. If the size of the file being compressed
  438.             (or the total files size in the case of a solid archive) is
  439.             greater than the dictionary size, then increasing the dictionary
  440.             size will generally increase compression ratio, decrease packing
  441.             speed and increase memory requirements.
  442.  
  443.             Default sliding dictionary size in 32-bit versions of RAR is 256
  444.             Kb. In RAR versions for Unix, Windows and other 32-bit platforms
  445.             it is possible to select five different sizes: 64, 128, 256, 512
  446.             or 1024 Kb. Besides, speed of extraction in these versions does
  447.             not depend upon dictionary size. In 16-bit version RAR for DOS
  448.             the sliding dictionary size is fixed and equal to 64 Kb.
  449.             Though RAR for DOS provides extracting files from large
  450.             dictionary archives.
  451.  
  452.             The amount of memory required to create large dictionary
  453.             archives is determined as 5*<dictionary size>+150Kb. About 1 Mb
  454.             is required for extraction and 5*<dictionary size>+1150Kb to
  455.             update solid archives.
  456.  
  457.             RAR for DOS can extract from large dictionary archives using
  458.             conventional, EMS and disk memory. If no EMS or disk
  459.             cache is available, the operation may slow down significantly. RAR
  460.             for DOS cannot convert large dictionary archives to SFX with the
  461.             default SFX module and cannot update such solid archives.
  462.  
  463.             Example:
  464.  
  465.             RAR a -s -mdd sources *.asm
  466.                 or
  467.             RAR a -s -md512 sources *.asm
  468.  
  469.             Will create a solid archive using a 512 Kb dictionary.
  470.  
  471.     -mm[f]  Multimedia compression [force]. Enables a special multimedia
  472.             compression algorithm. It is intended to compress digital audio
  473.             data containing up to four 8-bit or two 16-bit channels. It
  474.             works well with  true color (24-bit) bitmaps as well.
  475.             Improvement in the compression ratio up to 30% over the normal
  476.             compression may be achieved.
  477.  
  478.             When archiving file in the multimedia mode RAR performs
  479.             intelligent data analysis and may use, for different parts of
  480.             the file, general or multimedia compression depending on which
  481.             is more suitable. Such analysis allows optimum performance when
  482.             different data types are merged in the same file. The 'f'
  483.             modifier forces the multimedia compression to be used for the
  484.             whole file; it may help when certain multimedia files are to be
  485.             compressed, but in most cases only increases archive size.
  486.  
  487.             Both the -m<N> "Set compression method" and -s "Create solid
  488.             archive" switches can be used with multimedia compression,
  489.             but they are in effect for those file parts where the general
  490.             algorithm applies.
  491.  
  492.             If -mm is used with non-multimedia data, the compression ratio
  493.             is usually unchanged in comparison with the general method, but
  494.             due to multimedia analysis overhead, the packing speed is always
  495.             slower. The usage of -mm is not recommended with normal data
  496.             files.
  497.  
  498.             Example:
  499.  
  500.             rar a -m5 -s -mm All_My_Songs.rar *.wav
  501.  
  502.             Use the tightest compression method, solid archiving and
  503.             multimedia compression with smart analysis, which method
  504.             should be applied for particular data:
  505.  
  506.  
  507.     -ol     Save symbolic links as the link instead of the file.
  508.             Unix versions only.
  509.  
  510.  
  511.     -ow     Save file owner and group information.
  512.             Unix versions only.
  513.  
  514.  
  515.     -o+     Overwrite existing files.
  516.  
  517.  
  518.     -o-     Do not overwrite existing files.
  519.  
  520.  
  521.     -p<p>   Encrypt files with the string <p> as password while archiving.
  522.             The password is case-sensitive. If you omit the password on the
  523.             command line, you will be prompted with message "Enter password".
  524.  
  525.             Example:
  526.  
  527.             rar a -pmyhoney secret1 *.txt
  528.  
  529.             encrypt files *.txt with password "myhoney".
  530.  
  531.  
  532.     -p-     Do not query password
  533.  
  534.  
  535.     -r      Recurse subdirectories. May be used with commands:
  536.             a, u, f, m, x, e, t, p, v, l, c, cf and s.
  537.  
  538.             When used with the commands 'a', 'u', 'f', 'm' will process
  539.             files in all sub-directories as well as the current working
  540.             directory.
  541.  
  542.             When used with the commands x, e, t, p, v, l, c, cf or s will
  543.             process all archives in sub-directories as well as the current
  544.             working directory.
  545.  
  546.  
  547.     -r0     Similar to -r, but when used with the commands 'a', 'u', 'f',
  548.             'm' will recurse subdirectories only for wildcard names.
  549.  
  550.  
  551.     -ri<p>[:<s>]
  552.             Set priority and sleep time. Available only in RAR for Windows.
  553.             This switch is used to regulate system load by RAR in a
  554.             multitasking environment. The possible task priority values are
  555.             from 0 to 15. When <p> is equal to 0, the default task priority
  556.             is used, 1 corresponding to the lowest task priority, 15 - to
  557.             the highest. The sleep time <s> is a value from 0 to 1000
  558.             (milliseconds). This is the period of time that RAR will give
  559.             back to system after every read or write during the packing or
  560.             unpacking operation. The sleep time setting is useful when
  561.             several tasks with the same priority are running in the system.
  562.  
  563.             Example:
  564.  
  565.             WinRAR a -r -sfx -ri0:10 backup *.*
  566.  
  567.             execute RAR with default priority and 10 ms of sleep after
  568.             each read or write.
  569.  
  570.  
  571.     -rr[N]  Add a data recovery record. This switch is used when creating or
  572.             modifying archive to add a data recovery record to the archive.
  573.             See the 'rr[N]' command description for details.
  574.  
  575.  
  576.     -s      Create solid archive. Solid is a special archive type. Please
  577.             refer to the appendix "Glossary" for further information.
  578.  
  579.             Example:
  580.  
  581.             rar a -s -md512 sources.rar *.asm -r
  582.  
  583.             create solid archive sources.rar with 512 Kb dictionary,
  584.             recursing all directories, starting with the current directory.
  585.             Add only .asm files:
  586.  
  587.  
  588.     -s<N>   Create solid groups using file count
  589.  
  590.             Similar to -s, but reset solid statistics after compressing
  591.             <N> files. Usually decreases compression, but also
  592.             decreases losses in case of solid archive damages.
  593.  
  594.  
  595.     -se     Create solid groups using extension
  596.  
  597.             Similar to -s, but reset solid statistics if file extension
  598.             is changed. Usually decreases compression, but also
  599.             decreases losses from solid archive damages.
  600.  
  601.  
  602.     -s-     Disable solid archiving
  603.  
  604.  
  605.     -sfx[name]
  606.             Create SFX archives. If this switch is used when creating a new
  607.             archive, a Self-Extracting archive (using a module in file
  608.             default.sfx or specified in the switch) would be created.
  609.             In the Windows version default.sfx should be placed in the
  610.             same directory as the rar.exe, in Unix - in the user's home
  611.             directory.
  612.  
  613.             Example:
  614.  
  615.             rar a -sfxidos.sfx -zscript.s myinst
  616.  
  617.             create SelF-eXtracting (SFX) archive using specified SFX-module
  618.             and special installation script.
  619.  
  620.  
  621.     -tk     Keep original archive date. Prevents RAR from modifying the
  622.             archive date when changing an archive.
  623.  
  624.  
  625.     -tl     Set archive time to newest file. Forces RAR to set the date of a
  626.             changed archive to the date of the newest file in the archive.
  627.  
  628.  
  629.     -u      Update files. May be used with archive extraction or creation.
  630.             The command string "a -u" is equivalent to the command 'u', you
  631.             could also use the switch '-u' with the commands 'm' or 'mf'. If
  632.             the switch '-u' is used with the commands 'x' or 'e', then files
  633.             not present on the disk and files newer than their copies on the
  634.             disk would extracted from the archive.
  635.  
  636.  
  637.     -v<n>[k|b|f]  Create volumes with size=<size>*1000 [*1024 | *1].
  638.             By default this switch uses <size> as thousands (1000) of bytes
  639.             (not 1024 x bytes). You may also enter the size in kilobytes
  640.             using the symbol 'k', in bytes using the symbol 'b' or
  641.             select one from several predefined values using the symbol 'f'
  642.             following the numerical value. Predefined values can be
  643.             360, 720, 1200, 1440 or 2880 and replaced with corresponding
  644.             floppy disk size.
  645.  
  646.             If the size is omitted, autodetection will be used.
  647.  
  648.             If volumes are created on the same drive as the temporary files
  649.             (current drive by default, but may be changed with the switch
  650.             '-w'), the autodetected size becomes meaningless. In this case
  651.             the volume size must be explicitly defined.
  652.  
  653.             If volumes are created on a drive OTHER than the drive
  654.             containing the temporary files, then after the first volume has
  655.             been created, the user will be prompted with:
  656.  
  657.               Create next volume: Yes/No/All/Quit
  658.  
  659.             At this moment in time, you should change the disks. Answering
  660.             'A' will cause all volumes to be created without a pause.
  661.  
  662.             The first volume file in a multi-volume set has the extension
  663.             .RAR, following volumes are numbered from .R00 to .R99.
  664.  
  665.             When extracting or testing a multi-volume archive you must use
  666.             only the first volume name (*.RAR). If there is no next volume
  667.             on the drive (and volumes are not placed in the same directory
  668.             as the temporary files), the user will be prompted with:
  669.  
  670.              Insert disk with <next volume name>
  671.  
  672.             Insert the disk with the correct volume and press any key.
  673.  
  674.             If while extracting, the next volume is not found and volumes
  675.             are placed in the same directory as the temporary files, RAR
  676.             will abort with the error message:
  677.  
  678.              Cannot find <volume name>
  679.              Cannot change disk with temporary files
  680.  
  681.             Archive volumes may not be modified. The commands 'd', 'f', 'u',
  682.             's' can not be used with Multi-volume sets. The command 'a' may
  683.             be used only for the creation of a new multi-volume sequence.
  684.  
  685.             It is possible, although unlikely, that the file size, of a file
  686.             in a multi-volume set, could be greater than it's uncompressed
  687.             size. This is due to the fact that 'storing' (no compression if
  688.             size increases) cannot be enabled for multi-volume sets.
  689.  
  690.             Archive volumes may be Self-Extracting (SFX). Such an archive
  691.             should be created using both the '-v' and '-sfx' switches.
  692.  
  693.             Example:
  694.  
  695.             create archive in volumes of fixed size:
  696.  
  697.             rar a -s -v1440 floparch.rar *.*
  698.  
  699.             will create solid volumes of size 1440000 bytes.
  700.  
  701.  
  702.     -w<p>   Assign work directory as <p>. This switch may be used to assign
  703.             the directory for temporary files.
  704.  
  705.  
  706.     -x<f>   Exclude specified file<f>, wildcards may be used. You may
  707.             specify the switch '-x' several times:
  708.  
  709.             Example:
  710.  
  711.             rar a -r -x*.bak -x*.rar rawfiles
  712.  
  713.             *.bak and *.rar files will not be added to rawfiles
  714.  
  715.  
  716.     -x@<lf> Exclude files using specified list file.
  717.  
  718.             Example:
  719.  
  720.             rar a -x@exlist.txt arch *.exe
  721.  
  722.  
  723.     -y      Assume Yes on all queries.
  724.  
  725.  
  726.     -z<f>   Read archive comment from file<f>.
  727.  
  728.  
  729.  Environment variable
  730.  ~~~~~~~~~~~~~~~~~~~~
  731.  
  732.     Default parameters may be added to the RAR command line by establishing
  733.     an environment variable "RAR".
  734.  
  735.     For instance, in UNIX following lines may be added to your profile:
  736.  
  737.       RAR='-s -md1024'
  738.       export RAR
  739.  
  740.     RAR will use this string as default parameters in the command line and
  741.     will create "solid" archives with 1024 Kb sliding dictionary size.
  742.  
  743.     RAR handles options with priority as following:
  744.  
  745.        command line switches                   highest priority
  746.        switches in the RAR variable            lower priority
  747.        switches saved in configuration file    lowest priority
  748.  
  749.  
  750.  Limitations
  751.  ~~~~~~~~~~~
  752.  
  753.     Pathname is limited to 259 symbols.
  754.  
  755.     Maximum archive comment length is 62000 bytes.
  756.  
  757.     Command limitations:
  758.  
  759.     The commands 'd','u','f' will not operate with archive volumes.
  760.  
  761.     The command 'a' cannot be used to update an archive volume, only to
  762.     create one.
  763.  
  764.     The commands 'c' and 'cf' will not operate with archive volumes, but
  765.     will work with solid archives.
  766.  
  767.  
  768.  Exit values
  769.  ~~~~~~~~~~~
  770.  
  771.     RAR exits with a zero code (0) in case of successful operation. The exit
  772.     code of non-zero means the operation is cancelled due to error:
  773.  
  774.      255   USER BREAK       User stopped the process
  775.  
  776.        8   MEMORY ERROR     Not enough memory for operation
  777.  
  778.        7   USER ERROR       Command line option error
  779.  
  780.        6   OPEN ERROR       Open file error
  781.  
  782.        5   WRITE ERROR      Write to disk error
  783.  
  784.        4   LOCKED ARCHIVE   Attempt to modify an archive previously locked
  785.                             by the 'k' command
  786.  
  787.        3   CRC ERROR        A CRC error occurred when unpacking
  788.  
  789.        2   FATAL ERROR      A fatal error occurred
  790.  
  791.        1   WARNING          Non fatal error(s) occurred
  792.  
  793.        0   SUCCESS          Successful operation (User exit)
  794.  
  795.  
  796.  Glossary
  797.  ~~~~~~~~
  798.  
  799.     Archive      Special file containing one or more files optionally
  800.                  encoded and/or compressed.
  801.  
  802.     Compression  A method of encoding data to reduce it's size.
  803.  
  804.     CRC          Cyclic Redundancy Check. Mathematical method calculating
  805.                  special checking information for data validity.
  806.  
  807.     SFX          Archive module used to extract files from when executed.
  808.                  (SelF-eXtracting module), usually in the form of a .EXE
  809.                  file.
  810.  
  811.     Solid        An archive packed using a special compression method which
  812.                  sees all files as one continuous data stream. Particularly
  813.                  advantageous when packing a large number of small files.
  814.  
  815.     Volume       Part of a split archive. Splitting an archive to volumes
  816.                  allows storing them on diskettes. Volumes must be extracted
  817.                  starting from first in sequence.
  818.  
  819.  
  820.  
  821.  Copyrights
  822.  
  823.     (c) 1993-96 Eugene Roshal
  824.  
  825.  
  826.  
  827.