Winrar 2.80 [01/01]
.·^·.·'·.:DA BREAKER CREW:.·'·.·^·.
·······oNE gROUP oNE fAMILY··········
wEB1:..................http://www.d-b-c.ch
wEB2:.................http://kickme.to/dbc
iRC:........................EFnet.....#DBC
eMAIL:[email protected]
WinRAR/ReadMe.txt
This archive contains the WinRAR multifunctional integrated archive manager
WinRAR features:
o WinRAR introduces an original compression algorithm. It allows
higher compression ratios than other PC archiving tools, especially
on executable files, Object libraries, large text files, etc.
o WinRAR offers an optional, compression algorithm highly optimized
for multimedia data.
o WinRAR supports files and archives up to 9,223,372,036,854,775,807
bytes in size, about 9000PB. The number of archived files is,
for all practical purposes, unlimited.
o WinRAR provides complete support for ZIP archives and is able
to unpack CAB, ARJ, LZH, TAR, GZ, ACE, UUE archives.
o WinRAR supports NTFS file security and data streams.
o WinRAR offers new facilities and features such as a graphic
interactive interface utilizing mouse, menus and the command line
interface.
o WinRAR provides functionality for creating a 'solid' archive,
which can raise the compression ratio by 10% - 50% over more common
methods, particularly when packing large numbers of small files.
o WinRAR offers the ability to create and change SFX archives using
default and external SFX modules.
o WinRAR offers the ability to create a multi-volume archive as SFX.
o WinRAR offers a number of service functions, such as setting a
password, adding archive and file comments. Even physically
damaged archives may be repaired and an archive may be locked
to prevent further changes. Authenticity information may be
added for additional security and WinRAR will store information
on the last update and name of the archive.
o WinRAR provides ANSI esc-sequence support in comments. This
allows color comments and other ANSI features without the need
for an ANSI-driver.
WinRAR/License.txt
The RAR Archiver
~~~~~~~~~~~~~~~~
License for use and distribution
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The RAR archiver is distributes as try-before-you-buy. This means:
1. All copyrights to RAR are exclusively owned by the author
- Eugene Roshal.
2. Anyone may use this software during a test period of 40
days. Following this test period of 40 days or less, if
you wish to continue to use RAR, you MUST register.
3. There are 5 basic types of licenses issued for RAR, these are:
a. A single computer USAGE license. The user purchases ONE license
to USE the RAR archiver on ONE computer.
b. A Multiple USAGE license. The user purchases a number of USAGE
licenses for use, by the purchaser, the purchaser's employees or
accredited agents, on the same number of computers.
USAGE licenses are sold in units of 1, 2, 5, 10, 25, 50, 100, 250
500 or 1000. For larger sales please contact your local
registration site or RarSoft HQ.
c. A SITE USAGE license. The user purchases a single USAGE license,
authorising the USE of RAR, by the purchaser, the purchaser's
employees or acredited agents, on an unlimited number of computers
at the same physical SITE location. This SITE location would
normally be defined as a single building, but could be considered
to be a number of buildings within the same, general, geographical
location, such as an industrial estate or small town.
d. A CORPORATE, NATIONAL or INTERNATIONAL USAGE license. The user
purchases a single USAGE license, authorising the USE of RAR, by
the purchaser, the purchaser's employees or acredited agents, on
an unlimited number of computers, regardless of location, but
owned or under the control of the purchaser.
e. A CORPORATE, RESALE license. The user purchases a license for
a limited and specified number of copies for the purpose of
reselling individual licenses to a third party with RAR being
included as a part of another application or system. This license
does NOT allow the direct reselling of RAR as a stand-alone
product.
Once registered, the user is granted a non-exclusive license to use
RAR on as many computers as defined by the licensing terms above
according to the number of licenses purchased, for any legal purpose.
The registered RAR software may not be rented or leased, but may be
permanently transferred, in it's entirety, if the person receiving it
agrees to the terms of this license. If the software is an update,
the transfer must include the update and all previous versions.
4. The RAR unregistered trial version, may be freely distributed,
with exceptions noted below, provided the distribution package is
not modified. No person or company may charge a fee for the
distribution of RAR without written permission from the copyright
holder. The RAR unregistered trial version may not be bundled or
distributed with any other package without written permission of
the copyright holder.
5. To register you must complete the registration form and send
it, with registration fee, to one of the authorized
registration sites, see RAR_SITE.TXT.
6. RAR ARCHIVER IS DISTRIBUTED "AS IS". NO WARRANTY OF ANY
KIND IS EXPRESSED OR IMPLIED. YOU USE AT YOUR OWN RISK.
THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS, DAMAGES, LOSS
OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING OR MISUSING
THIS SOFTWARE.
7. There are NO additional license fees, apart from the cost of
registration, associated with the creation and distribution of RAR
archives, volumes, self-extracting archives or self-extracting
volumes. Legally registered owners may use their copies of RAR to
produce archives and self-extracting archives and to distribute
those archives free of any additional RAR royalties.
8. You may not use, copy, emulate, clone, rent, lease, sell, modify,
decompile, disassemble, otherwise reverse engineer, or transfer the
licensed program, or any subset of the licensed program, except as
provided for in this agreement. Any such unauthorized use shall
result in immediate and automatic termination of this license and
may result in criminal and/or civil prosecution.
Neither RAR binary code, WinRAR binary code, UnRAR source or UnRAR
binary code may be used or reverse engineered to re-create the RAR
compression algorithm, which is proprietary, without written
permission of the author.
RAR and WinRAR keyfiles may not be distributed, except as stated
in item 3) above, outside of the area of legal control of the
person or persons who purchased the original license, without
written permission of the copyright holder.
All rights not expressly granted here are reserved by Eugene Roshal.
9. Installing and using RAR signifies acceptance of these terms
and conditions of the license.
10. If you do not agree with the terms of this license you must remove
RAR files from your storage devices and cease to use the product.
Thank you for using the original RAR.
Eugene Roshal
WinRAR/Rar.txt
User's Manual
~~~~~~~~~~~~~
RAR 2.80 32-bit console version
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Welcome to the RAR Archiver!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Introduction
~~~~~~~~~~~~
RAR is a powerful tool which allows you to manage and control archive
files. The archive is usually a regular file, which name has a ".rar"
suffix.
RAR features include:-
* Highly sophisticated, original compression algorithm
* Special compression algorithm optimized for multimedia data
* Better compression than similar tools, using 'solid' archiving
* Authenticity verification (registered version only)
* Self-extracting archives and volumes (SFX)
* Ability to recover physically damaged archives
* Locking, password, file order list, file security & more ...
Configuration file
~~~~~~~~~~~~~~~~~~
RAR for Unix and BeOS read configuration information from the file
.rarrc in the user's home directory (stored in HOME environment variable)
or in /etc directory.
RAR for Windows reads configuration information from the file rar.ini,
placed in the same directory as the rar.exe file.
This file may contain the following string:
switches=
Environment variable
~~~~~~~~~~~~~~~~~~~~
Default parameters may be added to the RAR command line by establishing
an environment variable "RAR".
For instance, in UNIX following lines may be added to your profile:
RAR='-s -md1024'
export RAR
RAR will use this string as default parameters in the command line and
will create "solid" archives with 1024 KB sliding dictionary size.
RAR handles options with priority as following:
command line switches highest priority
switches in the RAR variable lower priority
switches saved in configuration file lowest priority
Log file
~~~~~~~~
If the switch -ilog is specified in the command line or configuration
file, RAR will write informational messages, concerning errors
encountered while processing archives, to a log file. In Unix and BeOS
this file is named .rarlog and placed in the user's home directory.
In Windows it is named rar.log and placed in the same directory as
the rar.exe file.
The file order list for solid archiving - rarfiles.lst
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rarfiles.lst contains user-defined file list which tells RAR
the order to add files to a solid archive. It may contain file
names, wildcards and special entry - $default. The default
entry defines the place in order list for files not matched
with other entries in this file. The comment character is ';'.
In Windows this file should be placed in the same directory as RAR,
in Unix and BeOS - to the user's home directory or to /etc.
Tips to provide improved compression and speed of operation:
- similar files should be grouped together in the archive;
- frequently accessed files should be placed at the beginning.
RAR command line syntax
~~~~~~~~~~~~~~~~~~~~~~~
Syntax
RAR [ - ] [ <@listfiles...> ]
[ ] [ ]
Specify empty listfile name to read names from stdin
Description
Command line options (commands and switches) provides control of
creating and managing archives with RAR. The command is a string (or a
single letter) which commands RAR to perform a corresponding action.
Switches are designed to modify the way RAR performs the action. Other
parameters are archive name and files to be archived into or extracted
from the archive.
In a UNIX environment you need to quote wildcards to avoid them being
processed by RAR itself. For example, this command will extract
*.asm files from RAR archives in current path:
rar e '*.rar' '*.asm'
Command could be any of the following:
a Add files to archive.
Example:
create or update existent archive myarch, adding all files
in the current directory
rar a myarch
c Add archive comment. Comments are displayed while the archive is
being processed. Comment length is limited to 62000 bytes
Examples:
rar c distrib.rar
Also comments may be added from a file:
rar c -zinfo.txt dummy
cf Add files comment. File comments are displayed when the 'v'
command is given. File comment length is limited to 32767 bytes.
Example:
rar cf bigarch *.txt
cw Write archive comment to specified file.
Example:
rar cw oldarch comment.txt
d Delete files from archive. Note, if the processing of this
command resulted in removing all the files from the archive, the
empty archive would removed.
e Extract files to current directory.
f Freshen files in archive. Updates those files changed since they
were packed to the archive. This command will not add new files
to the archive.
k Lock archive. Any command which intends to change the archive
will be ignored.
Example:
rar k final.rar
l[t] List contents of archive [technical]. Files are listed as with
the 'v' command with the exception of the file path. i.e. only
the file name is displayed. Optional technical information is
displayed when 't' modifier is used.
m[f] Move to archive [files only]. Moving files and directories
results in the files and directories being erased upon
successful completion of the packing operation. Directories will
not be removed if 'f' modifier is used and/or '-ed' switch is
applied.
p Print file to stdout.
r Repair archive. Archive repairing is performed in two stages.
First, the damaged archive is searched for a recovery record
(see 'rr' command). If the archive contains a recovery record
and if the portion of the damaged data is continuous and less
than N*512 bytes, where N is number of recovery sectors placed
into the archive, the chance of successful archive
reconstruction is very high. When this stage has completed, a
new archive will be created, called _RECOVER.RAR.
If a broken archive does not contain a recovery record or if
the archive is not completely recovered due to major damage, a
second stage is performed. During this stage only the archive
structure is reconstructed and it is impossible to recover
files which fail the CRC validation, it is still possible to
recover undamaged files which were inaccessible due to the
broken archive structure. Mostly this is useful for non-solid
archives.
When the second stage is completed, the reconstructed archive
will be saved as _RECONST.RAR.
While the recovery is in progress, RAR may prompt the user for
assistance when a suspicious file is detected.
Suspicious entry
Name:
Size: Packed:
Add it: Yes/No/All
Answer 'y' to add this entry to the file _RECOVER.RAR.
Example:
rar r buggy.rar
rr[N] Add data recovery record. Optionally, redundant information
(recovery record) may be added to an archive. This will cause
a small increase of the archive size and helps to recover
archived files in case of floppy disk failure or data losses of
any other kind. A recovery record contains up to 32768 recovery
sectors. The number of sectors may be specified directly in the
'rr' command (N = 1, 2 .. 32768) or if it is not specified by the
user it will be selected automatically according to the archive
size: a size of the recovery information will be about 1%
of the total archive size, usually allowing the recovery of
up to 0.6% of the total archive size of continuously damaged data.
It is also possible to specify the recovery record size in
percents to the archive size. Just append the percent character
to the command parameter. For example:
rar rr3% arcname
If data are damaged continuously then each rr-sector helps to
recover 512 bytes of damaged information. This value may be
lower in cases of multiple damage.
The size of the recovery record may be approximately determined
by the formula /256 + *512 bytes.
s[name] Convert archive to SFX. The archive is merged with SFX-module
(using a module in file default.sfx or specified in the switch).
In the Windows version default.sfx should be placed in the
same directory as the rar.exe, in Unix and BeOS - in the user's
home directory, in /usr/lib or /usr/local/lib.
s- Remove SFX module from the already existing SFX archive.
RAR creates a new archive without SFX module, the original
SFX archive is not deleted.
t Test archive files. This command performs a dummy file
extraction, writing nothing to the output stream, in order to
validate the specified file(s).
Examples:
Test archives in current directory:
rar t *
or for Unix:
rar t '*'
User may test archives in all sub-directories, starting
with the current path:
rar t -r *
or for Unix:
rar t -r '*'
u Update files in archive. Adds files not already in the archive
and updates files changed since they were packed to the archive.
v[t] Verbosely list the contents of archive [technical].
Files are listed using the format: full pathname, file comment,
original and compressed size, compression ratio, last update
date and time, attributes, CRC, compression method and minimum
RAR version required to extract. Optional technical information
is displayed when 't' modifier is used.
To list the contents of all archive volumes, use an asterisk
('*') in place of the archive file extension or use the '-v'
switch.
Example:
direct archive content list (technical) to a file
rar vt bambam >bambam.lst
x Extract files with full path.
Example:
rar x -av- -c- dime 10cents.txt
extract specified file to current path. AV check and comment
show are disabled.
Switches (used in conjunction with a command):
-? Display help on commands and switches. The same as when none
or an illegal command line option is entered.
-- Stop switches scanning
This switch tells to RAR that there is no more switches
in the command line. It could be useful, if either archive
or file name starts from '-' character. Without '--' switch
such name would be treated as switch.
Example:
add all files from the current directory to the solid archive
'-StrangeName'
RAR a -s -- -StrangeName
-ac Clear Archive attribute after compression or extraction
(Windows version only).
-ag[format]
Generate archive name using the current date and time.
Appends the current date string to an archive name when
creating an archive. Useful for daily backups.
Format of the appending string is defined by the optional
"format" parameter or by "YYYYMMDDHHMMSS" if this parameter
is absent. Format string may include the following characters:
Y - year
M - month
MMM - month name as text string (Jan, Feb, etc.)
W - a week number (a week starts with Monday)
A - day of week number (Monday is 1, Sunday - 7)
D - day of month
H - hours
M - minutes (treated as minutes if encountered after hours)
S - seconds
All other characters are added to an archive name without
changes.
Examples:
1) use the default YYYYMMDDHHMMSS format
rar a -ag backup
2) use DD-MMM-YY format
rar a -agDD-MMM-YY backup
3) use YYYYMMDDHHMM format
rar a -agYYYYMMDDHHMM backup
4) use YYYY-WW-A format
rar a -agYYYY-WW-A backup
-ao Add files with Archive attribute set
(Windows version only).
Example:
add all disk C: files with Archive attribute set
to the 'f:backup' and clear files Archive attribute
rar a -r -ac -ao f:backup c:\*.*
-ap Set path inside archive. This path is merged to file
names when adding files to an archive and removed
from file names when extracting.
For example, if you wish to add the file 'readme.txt'
to the directory 'DOCS\ENG' of archive 'release',
you may run:
rar a -apDOCS\ENG release readme.txt
or to extract 'ENG' to the current directory:
rar x -apDOCS release DOCS\ENG\*.*
-as Synchronize archive contents
If this switch is used when archiving, those archived files
which are not present in the list of the currently added
files, will be deleted from archive. It is convenient to use
this switch in combination with -u (update) to synchronize
contents of an archive and an archiving directory.
For example, after the command:
rar a -u -as backup sources\*.cpp
the archive 'backup.rar' will contain only *.cpp files
from directory 'sources', all other files will be deleted
from the archive. It looks similar to creating a new archive,
but with the one important exception: if no files are
modified since a last backup, the operation is performed
much faster than creation of a new archive.
-av Put authenticity verification (registered versions only).
RAR will put, in every new and updated archive, information
concerning the creator, last update time and archive name.
If an archive, containing authenticity verification, is being
modified and this switch is not specified, the authenticity
verification information will be removed.
When extracting, testing, listing or updating and archive with
the '-av' switch, RAR will perform integrity validation and
display the message:
Verifying authenticity information ...
In the case of successful authenticity verification, the message
'Ok', creator name and last update information will be
displayed. In the case of authenticity verification failure, the
message 'FAILED' will be displayed.
The Authenticity Verification feature, '-av,' is recommended for
use with archives in a software distribution environment.
In order to enable the Authenticity verification feature, the
program MUST be registered. Please contact your local
distribution site or the world-wide distribution center.
-av- Disable authenticity verification checking or adding.
-cfg- Disable read configuration and environment.
-cl Convert file names to lower case.
-cu Convert file names to upper case.
-c- Disable comments show.
-df Delete files after archiving
Move files to archive. This switch in combination with
the command "A" performs the same action as the command "M".
-dh Open shared files
Allows to process files opened by other applications
for writing.
This option could be dangerous, because it allows
to archive a file, which at the same time is modifying
by an other application, so use it carefully.
-ds Do not sort files while adding to a solid archive.
-ed Do not add empty directories
This switch indicates that empty directories are not to be
stored in the created archive.
-ee Do not process extended attributes
Disables saving and restoring extended file attributes.
Only for OS/2 and BeOS versions.
-ep Exclude paths from names. This switch enables files to be added
to an archive without including the path information. This
could, of course, result in multiple files existing in the
archive with the same name.
-ep1 Exclude base dir from names. Do not store the path entered in
the command line.
Example:
all files and directories from the directory tmp will be added
to the archive 'test', but the path in archived names will not
include 'tmp\'
rar a -ep1 -r test tmp\*
This is equivalent to the commands:
cd tmp
rar a -r ..\test
cd ..
-ep2 Expand paths to full. Store full file paths (except a drive
letter and leading path separator) when archiving.
-e Specifies file exclude attributes mask. is a number in the
decimal, octal (with leading '0') or hex (with leading '0x')
format. If result of bitwise AND between and file
attributes is nonzero, then file would not be added to archive.
In the Windows version also is possible to use instead of
digital mask symbols D, S, H, A and R to denote directories
and files with system, hidden, archive and read-only attributes.
The order in which the attributes are given is not significant.
-f Freshen files. May be used with archive extraction or creation.
The command string "a -f" is equivalent to the command 'f', you
could also use the switch '-f' with the commands 'm' or 'mf'. If
the switch '-f' is used with the commands 'x' or 'e', then only
old files would be replaced with new versions extracted from the
archive.
-idp Disable percentage indicator.
May be useful when redirecting output to a file.
-ierr Send all messages to stderr.
-ilog Log errors to file (registered version only).
-inul Disable all messages.
-isnd Enable sound.
-k Lock archive. Any command which intends to change the archive
will be ignored.
-kb Keep broken extracted files.
RAR, by default, deletes files with CRC errors after
extraction. The switch -kb specifies that files with
CRC errors should not be deleted.
-m Set compression method:
-m0 store do not compress file when adding to archive
-m1 fastest use fastest method (less compressive)
-m2 fast use fast compression method
-m3 normal use normal (default) compression method
-m4 good use good compression method (more
compressive, but slower)
-m5 best use best compression method (slightly more
compressive, but slowest)
By default RAR uses -m3 method (Normal compression).
-md Select dictionary size in KB. Must be 64, 128, 256, 512 or
1024 or a letter 'a', 'b', 'c', 'd' or 'e' respectively.
The sliding dictionary is a special memory area used by the
compression algorithm. If the size of the file being compressed
(or the total files size in the case of a solid archive) is
greater than the dictionary size, then increasing the dictionary
size will generally increase compression ratio, decrease packing
speed and increase memory requirements.
Default sliding dictionary size in 32-bit versions of RAR is 1024
KB. In RAR versions for Unix, Windows and other 32-bit platforms
it is possible to select five different sizes: 64, 128, 256, 512
or 1024 KB. Besides, speed of extraction in these versions does
not depend upon dictionary size. In 16-bit version RAR for DOS
the sliding dictionary size is fixed and equal to 64 KB.
Though RAR for DOS provides extracting files from large
dictionary archives.
The amount of memory required to create large dictionary
archives is determined as 5*+2560KB. About 1 Mb
is required for extraction and 5*+3584KB to
update solid archives.
RAR for DOS can extract from large dictionary archives using
conventional, EMS and disk memory. If no EMS or disk
cache is available, the operation may slow down significantly. RAR
for DOS cannot convert large dictionary archives to SFX with the
default SFX module and cannot update such solid archives.
Example:
RAR a -s -mdd sources *.asm
or
RAR a -s -md512 sources *.asm
Will create a solid archive using a 512 KB dictionary.
-mm[f] Multimedia compression [force]. Enables a special multimedia
compression algorithm. It is intended to compress digital audio
data containing up to four 8-bit or two 16-bit channels. It
works well with true color (24-bit) bitmaps as well.
Improvement in the compression ratio up to 30% over the normal
compression may be achieved.
When archiving file in the multimedia mode RAR performs
intelligent data analysis and may use, for different parts of
the file, general or multimedia compression depending on which
is more suitable. Such analysis allows optimum performance when
different data types are merged in the same file. The 'f'
modifier forces the multimedia compression to be used for the
whole file; it may help when certain multimedia files are to be
compressed, but in most cases only increases archive size.
Both the -m "Set compression method" and -s "Create solid
archive" switches can be used with multimedia compression,
but they are in effect for those file parts where the general
algorithm applies.
If -mm is used with non-multimedia data, the compression ratio
is usually unchanged in comparison with the general method, but
due to multimedia analysis overhead, the packing speed is always
slower. The usage of -mm is not recommended with normal data
files.
Example:
rar a -m5 -s -mm All_My_Songs.rar *.wav
Use the tightest compression method, solid archiving and
multimedia compression with smart analysis, which method
should be applied for particular data.
-ol Save symbolic links as the link instead of the file.
Unix and BeOS versions only.
-os Save NTFS streams. Win32 version only.
This switch has meaning only for NTFS file system under
Windows NT and allows to save alternative data streams
associated with a file. It is especially important under
Windows 2000, which uses streams to keep some file dependent
information like file descriptions. If you use RAR to backup
your NTFS disks, it is recommended to specify this switch.
-ow Use this switch when archiving to save file security
information and when extracting to restore it.
Unix and BeOS RAR versions save file owner and group
when using this switch.
Win32 version stores owner, group, file permissions and
audit information, but only if you have necessary privileges
to read them. Note that only NTFS file system supports
file based security under Windows.
-o+ Overwrite existing files.
-o- Do not overwrite existing files.
-p
Encrypt files with the string
as password while archiving.
The password is case-sensitive. If you omit the password on the
command line, you will be prompted with message "Enter password".
Example:
rar a -pmyhoney secret1 *.txt
add files *.txt and encrypt them with password "myhoney".
-p- Do not query password
-r Recurse subdirectories. May be used with commands:
a, u, f, m, x, e, t, p, v, l, c, cf and s.
When used with the commands 'a', 'u', 'f', 'm' will process
files in all sub-directories as well as the current working
directory.
When used with the commands x, e, t, p, v, l, c, cf or s will
process all archives in sub-directories as well as the current
working directory.
-r0 Similar to -r, but when used with the commands 'a', 'u', 'f',
'm' will recurse subdirectories only for those names, which
include wildcard characters '*' and '?'
-ri
[:]
Set priority and sleep time. Available only in RAR for Windows.
This switch is used to regulate system load by RAR in a
multitasking environment. The possible task priority values are
from 0 to 15. When
is equal to 0, the default task priority
is used, 1 corresponding to the lowest task priority, 15 - to
the highest. The sleep time is a value from 0 to 1000
(milliseconds). This is the period of time that RAR will give
back to system after every read or write during the packing or
unpacking operation. The sleep time setting is useful when
several tasks with the same priority are running in the system.
Example:
execute RAR with default priority and 10 ms of sleep after
each read or write
rar a -r -sfx -ri0:10 backup *.*
-rr[N] Add a data recovery record. This switch is used when creating or
modifying archive to add a data recovery record to the archive.
See the 'rr[N]' command description for details.
-s Create solid archive. Solid is a special archive type. Please
refer to the appendix "Glossary" for further information.
Example:
create solid archive sources.rar with 512 KB dictionary,
recursing all directories, starting with the current directory.
Add only .asm files:
rar a -s -md512 sources.rar *.asm -r
-s Create solid groups using file count
Similar to -s, but reset solid statistics after compressing
files. Usually decreases compression, but also
decreases losses in case of solid archive damages.
-sd Create dependent solid volumes
Similar to -s, but shares solid statistics among volumes.
Ignored, if used to create non-volume archive.
By default RAR tries to reset solid statistics as soon
as possible when starting a new volume and this switch
overrides such behaviour. It slightly increases compression,
but significantly reduces chances to extract a part of data
if one of solid volumes in volume set was lost or damaged.
-se Create solid groups using extension
Similar to -s, but reset solid statistics if file extension
is changed. Usually decreases compression, but also
decreases losses from solid archive damages.
-s- Disable solid archiving
-sfx[name]
Create SFX archives. If this switch is used when creating a new
archive, a Self-Extracting archive (using a module in file
default.sfx or specified in the switch) would be created.
In the Windows version default.sfx should be placed in the
same directory as the rar.exe, in Unix and BeOS - in the user's
home directory, in /usr/lib or /usr/local/lib.
Example:
rar a -sfxwincon.sfx myinst
create SelF-eXtracting (SFX) archive using wincon.sfx
SFX-module.
-tk Keep original archive date. Prevents RAR from modifying the
archive date when changing an archive.
-tl Set archive time to newest file. Forces RAR to set the date of a
changed archive to the date of the newest file in the archive.
-tn
WinRAR/Rar_Site.txt
RAR Registration and Support sites
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The latest version of RAR and support conferences are available at
the sites and BBS's listed below. Most of them are FIDONET-nodes, so
you can request the latest version of RAR, via file request, using
the magic name of 'RAR'.
NOTE: This list is distributed with the current version of RAR and may not
be up-to-date. For the latest RAR_SITE list please visit our website
at
http://www.rarsoft.com
There you will also find the latest versions of RAR for all platforms
as well as FAR, the greatest file manager in the world.
World-Wide distribution headquarters:
FINLAND
-------
Postal address Ordering information
Softronic Oy Fax : +358 (9) 2983308
Rar HQ Voice : +358 (9) 22301230
PL 97 Email : [email protected]
02101 Espoo
Finland
North American Continent:
USA
---
Postal Address: Ordering Information:
Netcenter AG Voice : (617) 227 6069
WinRAR Sales and Support Fax : (617) 227 0969
92 Chestnut Street Website : http://www.winrar-usa.com
Boston MA 02108 E-Mail
USA - general : [email protected]
- sales : [email protected]
- support : [email protected]
- press : [email protected]
Private/noncommercial customers may place their orders directly
on our website. Business/commercial customers are kindly asked
to contact the sales department at [email protected] for more
information.
SouthEastern US
USA Wisconsin
~~~~~~~~~~~~
Postal Address: Ordering Information:
Brian Hertziger Voice : 1-414-875-7831
Mr. Homies' Computex BBS : 1-414-875-7835
3116 North 75th Street FAX : 1-414-875-7835
Milwaukee, WI 53216-2742 FidoNet : 1:154/645
Email: [email protected] WWW : http://www.rararchiver.com
Voice Hours:
Monday-Saturday -- 6:00pm to 10:00pm (CST)
Sunday -- 10:00am to 10:00pm (CST)
Orders accepted by: Email, Web, Phone, snail-mail, Netmail, Fax and BBS
Credit Cards accepted: American Express, Visa, MasterCard, Discover,
and Novus cards.
Personal and Business Checks, Money Orders, or Cashier's Checks accepted;
make all checks payable to: Mr. Homies' Computex.
NOTE: Personal and Business checks require 7 working days to clear
Wisconsin residents add 5.6% sales tax.
Europe:
Deutschland, Oesterreich und Schweiz
------------------------------------
Postanschrift: Information:
NetceNter AG Telefon : 01805 262526 / +49 4509 712084
WinRAR Support Fax : 01805 264526 / +49 4509 8542
Emil-Sommer-Str. 4-6 Website : www.rarsoft.de
28329 Bremen/Germany E-Mail
- Kontakt : [email protected]
- Verkauf : [email protected]
- Support : [email protected]
- Presse : [email protected]
Sie koennen Ihre Bestellung per Telefon, Fax, E-Mail oder direkt auf
unserer Website aufgeben. Kreditkartenzahlung ist moeglich.
Auf www.rarsoft.de finden Sie alle aktuellen Programmversionen sowie
viele Infos und Hilfsprogramme zu RAR, winRAR und FAR.
Finland, Suomi
--------------
Yritys osoite Ordering information
Softronic Oy Fax : +358-9-298 3308
PL 97 email: [email protected]
02101 Espoo
FINLAND
Orders accepted by fax, mail or e-mail
Credit cards : Visa, Mastercard
France
------
Postal Address Ordering information
ADC Voice: +(33) (0) 1-47-80-58-83
39, rue de 22 septembre Fax : +(33) (0) 6-61-02-86-68
92400 - COURBEVOIE email: [email protected]
France WWW : http://www.adc-soft.com
Orders accepted by post, e-mail, online or fax
Sweden
-------
Postal address Ordering information
Definite Solutions Voice: +46 (8) 6505087
Box 1012 Fax : +46 (8) 6505071
S-112 73 Stockholm BBS : +46 (8) 4410010 (ISDN/V.34)
Sweden +46 (8) 4410011 (ISDN/V.34)
FidoNet : 2:201/330, 2:201/329
Internet: [email protected]
WWW : http://www.defsol.se/
Orders accepted by Voice phone, FAX, Mail, crash NetMail
or BBS. File request REGFORM.SWE for our Swedish order
form. This form is also available on our web site.
Credit card orders require a signed order form to be mailed
or faxed due to local authorities' regulations for credit card
payments.
Credit cards accepted VISA, MasterCard, EuroCard,
BankKort, RiksKort, KopKort and SparbanksKort.
Belgium, Netherlands and Luxemburg
----------------------------------
Dutch / English: Ordering information
Hendrik Desmet Phone : +32 (0) 51 68 91 65
Abeelstraat, 6 Fax : +32 (0) 51 68 91 64
B-8755 Ruiselede Mobile : +32 (0)478 43 50 80
Belgium E-mail : [email protected]
Web : http://user.online.be/~hdesmet/rar/
Orders accepted by post, e-mail or fax.
Spain
-----
Postal address Ordering information
On-Line Services 2000 S.L. Voice support +34-93 315 1593
Trafalgar 78 2 2 B Fax +34-93 268 3590
08010 Barcelona
Spain
E-Mail [email protected]
WWW http://rar.ols.es
We also accept VISA, Mastercard, 4B, american Express and VirtualCash.
Orders accepted by Voice phone, WWW, Mail and EMail.
Czech Republic
----------------
Postal Address Ordering Information
Viliam Mlich
Desna 70
763 15 Slusovice Voice : +420-67-7986163
Czech Rep. Mobile : +420-603-454069
e-mail: [email protected] or [email protected]
fidonet: 2:421/50
website: http://www.rar.cz/
Orders accepted by Mail, E-Mail and via Internet at:
http://www.rar.cz/rarreg.html
Czech Republic
--------------
Postal address Ordering Information
JIMAZ s.r.o. Voice: +420-2-33372301
Hermanova 37 FAX: +420-2-33370686
170 00 Praha 7
CZECHIA Email: [email protected]
Orders accepted by Voice phone, fax, mail and Internet Email.
Objednavky prijimame telefonicky, faxem, postou a elektronickou
postou.
Hungary
-------
Postal address/retail shop: Ordering information:
KeSzo Kft. Voice : +36-1-332-8717 (Hungarian and English)
Falk Miksa u. 6 Fax : +36-1-302-5136
H-1055 Budapest e-mail: [email protected]
Hungary
Internet: www.keszo.com
Orders accepted by Voice Phone, Fax, E-Mail, or personally in our shop.
Payments accepted by Cash, Bank Transfer.
Slovakia
--------
Postal address Ordering information
Ing.Peter Hubinsky - AVIR Mobile : +421 905 859812
L.Novomeskeho 48 FAX/TAM : +421 704 6401895
902 01 Pezinok E-mail : [email protected]
SLOVAKIA Web Site: http://www.avir.sk
Orders accepted by mail, phone, FAX and E-mail.
Poland
------
Postal Address Ordering Information
Malgorzata Skulska
Centrum Rejestracji Oprogramowania
Kazimierzowska 62 Voice : +48 (501) 140 196
05-822 Milanowek Mobile : +48 (501) 018 690
Fax : +48 (22) 724 14 05
e-mail: [email protected]
Website:http://www.skulski.com
Estonia
-------
Postal address Ordering information:
A&Y Majandustarkvara OY
Karol Kislenko Voice : +372 7 40 99 99
Riia 26 Fax : +372 7 40 99 88
50405 Tartu e-mail: [email protected]
Estonia
Internet: www.pcexpert.ee
Orders accepted by Voice Phone, Fax, E-Mail
Payments accepted by Cash, Bank Transfer.
Romania
-------
Postal Address: Ordering Information:
ProVision Software Div. S.R.L Voice: +40-1-3211568
P-ta Alba Iulia Nr.8, Bl.i7, Sc.3 FAX : +40-1-3236570
et.2, ap.50, BUCHAREST
ROMANIA / 7000 Email: [email protected]/[email protected]
Website: http://www.pro.ro
Voice Hours:
Monday-Saturday -- 7.00pm to 10:00pm
Sunday -- 10:00am to 10:00pm
Orders accepted by Phone, Mail, e-mail, FAX,
Russia
------
Postal Address Ordering information
Felix Moochnick Voice: +7-095-215-6613
TFM&K Fax: +7-095-215-6613
21, of.801, Zvezdnyi bulevard,
Russia, 129085 email: [email protected]
Australasia:
Australia
---------
Postal Address: Ordering Information:
Shareware-Australia Phone (02) 9565-2339
PO Box 1075 Fax (02) 9565-2362
Maroubra NSW 2035 Email: [email protected]
AUSTRALIA Web Site http://www.shareware-australia.com
We accept payment by Cheque or Money Order made payable to
Shareware-Australia
Credit Cards accepted: Bankcard, Mastercard, Visacard, American Express.
Orders accepted by phone, fax, mail, email, Web Secure Server.
Australia
------
Postal Address: Ordering Information:
Australia Connect Pty Ltd FAX: +61 (02) 9387 5087
P.O.Box 861
Bondi Junction
NSW 1355 Email: [email protected]
Australia Website: http://winrar.acon.com.au
Orders accepted by Fax, SnailMail, E-Mail.
Australia
---------
Postal address Ordering information
Secure Antivirus Systems Voice : +61 (0)7 3204 5000
PO Box 29 fidonet : 3:640/886
Kallangur internet : ftp.st.net.au/pub/rar
Australia 4503 email : [email protected]
Orders accepted by phone/ mail / email
Credit cards : Bankcard / Mastercard / Visa
New Zealand
-----------
Postal address Ordering information
Arrow Computer Services Fax : +64 (649) 486-7606
30A Bracken Ave Voice : +64 (649) 486-1012
Takapuna Orders : +64 (649) 486-1012
North Shore City 1309 BBS (14.4) : +64 (649) 488-0769
New Zealand
Internet: [email protected]
FidoNet : 3:772/185
CompuServe: 71333.2275
Orders accepted by Voice phone, fax, mail or BBS
Credit cards : Visa, Mastercard, Bankcard
South America:
Brazil
------
Endereºo Postal: Informaºσes de compra/Suporte T⌐cnico:
ATT: Fabio Becker Voz : 55-51-582-9682
FWA Com. Rep. e Ass. Tec. Ltda FAX : 55-51-593-3964
Rua Sao Francisco de Paula, 149
Novo Hamburgo, RS, 93410-330 E-mail : [email protected]
Brasil WWW : http://www.rarbrazil.com
Horírio TelefΣnico:
Seg-Sex: 10:00 at⌐ 16:00 (GMT -3)
Ordens de compra aceitas por: telefone, correio, e-mail, fax, ou online.
Cartσes de cr⌐dito aceitos: Visa (taxa de 6%)
Cheques Pessoais, Dinheiro súo aceitos, e deverúo ser emitidos em nome de
Fabio A. Becker.
Ordens de Compra pelo Correio (núo eletrΣnico) t¬m uma taxa adicional de
10% para registro postal.
Columbia
--------
Postal Address Ordering information:
Expreso Tecnologico 2000 Ltda. Voice : (57)(1) 2361696
Carrera 37 No. 89-99 Oficina 104 Sales : (57)(1) 2576169
Santafe de Bogota, Colombia Fax : (57)(1) 6357995
Email-Marketing : [email protected]
Email-Sales : [email protected]
Far East:
Korea
-----
Postal Address: Ordering Information:
BuySoft Inc E-Mail : [email protected]
#922 Daeyoung bldg., 44-1
Yoido-dong
Youngdeungpo-gu, 150-010
Seoul, Korea
Korea
-----
Postal Address: Ordering Information:
Jeong Wook Park E-Mail : [email protected]
Tricom Inc. Voice : 822-587-3884
2F/L., 1598-3 Seocho-dong,
Seocho-gu,
Seoul 137-729
Korea
Japan
-----
Postal Address: Ordering Information:
Tencraft WinRAR E-Mail : [email protected]
Kudan Kita 1-3-5 6F Website: http://www.diana.dti.ne.jp/~winrar/
Chiyoda-ku
Tokyo Japan
Orders accepted by SHARE-REGI and E-mail
Credit Cards accepted by SHARE-REGI:
VISA, MASTER, UC, SAISON, DC, NICOS, Orico and JCB cards.
Taiwan, Rep. of China
---------------------
Postal address Ordering information
Jiann-Jyh Chen
23 Lane 80, Pao-Hsing st. Fax : 886-2-2307-4763
108 Taipei, Taiwan Voice : 886-2-2301-1312
Rep. of China
URL: http://rarsoft.maiowoo.com
E-mail: [email protected]
Orders accepted by Fax, Mail or E-mail.
Support Sites:
COMPUSERVE
----------
+------------------------------------------------+
| CompuServe Forum to get the latest RAR version |
+------------------------------------------------+
The official CompuServe Forum for RAR is:
GO DEUSHARE
a part of Ziff Davis Net Germany [GO ZDNETD]
The RAR distribution files are in library three.
You may send comments on accessing this forum to:
Harald Reissl [[email protected]]
who is responsible for RAR, or
Matthias Copray [[email protected]]
who is responsible for the forum as a whole.
INTERNET
--------
+------------------------------------+
| Visit our world wide web site at: |
+------------------------------------+
Http://www.rarsoft.com
On-Line registration
--------------------
For your convenience we have contracted another company, to handle on-
line secure credit card orders. Please visit our website and you will see
a link to the on-line credit card handling system on the main page.
+----------------------------------------+
| FTP site for the latest WinRAR version |
+----------------------------------------+
The official anonymous FTP sites for RAR are:
ftp://ftp.cdrom.com/pub/cheats/dlh/rar
ftp://ftp.elf.stuba.sk/pub/pc/pack
+-------------------------------------+
| WinRar information via the Internet |
+-------------------------------------+
[email protected] A list of ftp sites for RAR software
[email protected] A list of registration sites
[email protected] Details of the latest version
The above targets are robots which will ignore the body of the message and
respond with a result file.
[email protected] Answers to technical questions
Messages addressed to helpdesk will be handled by staff proficient in the
usage of RAR and/or the author of the product.
SysOp:
Please place the RAR SFX archive on your BBS, but do not distribute
RAR registration keys and cracks.
How to become an RAR Registration and Support Site:
If you want to be an RAR/FAR Site - write to the world-wide distribution
center in Finland.
RAR version 2.80 - Technical information
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
THE ARCHIVE FORMAT DESCRIBED BELOW IS ONLY VALID FOR VERSIONS SINCE 1.50
==========================================================================
RAR archive file format
==========================================================================
Archive file consists of variable length blocks. The order of these
blocks may vary, but the first block must be a marker block followed by
an archive header block.
Each block begins with the following fields:
HEAD_CRC 2 bytes CRC of total block or block part
HEAD_TYPE 1 byte Block type
HEAD_FLAGS 2 bytes Block flags
HEAD_SIZE 2 bytes Block size
ADD_SIZE 4 bytes Optional field - added block size
Field ADD_SIZE present only if (HEAD_FLAGS & 0x8000) != 0
Total block size is HEAD_SIZE if (HEAD_FLAGS & 0x8000) == 0
and HEAD_SIZE+ADD_SIZE if the field ADD_SIZE is present - when
(HEAD_FLAGS & 0x8000) != 0.
In each block the followings bits in HEAD_FLAGS have the same meaning:
0x4000 - if set, older RAR versions will ignore the block
and remove it when the archive is updated.
if clear, the block is copied to the new archive
file when the archive is updated;
0x8000 - if set, ADD_SIZE field is present and the full block
size is HEAD_SIZE+ADD_SIZE.
Declared block types:
HEAD_TYPE=0x72 marker block
HEAD_TYPE=0x73 archive header
HEAD_TYPE=0x74 file header
HEAD_TYPE=0x75 comment header
HEAD_TYPE=0x76 old style authenticity information
HEAD_TYPE=0x77 subblock
HEAD_TYPE=0x78 recovery record
HEAD_TYPE=0x79 authenticity information
Comment block is actually used only within other blocks and doesn't
exist separately.
Archive processing is made in the following manner:
1. Read and check marker block
2. Read archive header
3. Read or skip HEAD_SIZE-sizeof(MAIN_HEAD) bytes
4. If end of archive encountered then terminate archive processing,
else read 7 bytes into fields HEAD_CRC, HEAD_TYPE, HEAD_FLAGS,
HEAD_SIZE.
5. Check HEAD_TYPE.
if HEAD_TYPE==0x74
read file header ( first 7 bytes already read )
read or skip HEAD_SIZE-sizeof(FILE_HEAD) bytes
if (HEAD_FLAGS & 0x100)
read or skip HIGH_PACK_SIZE*0x100000000+PACK_SIZE bytes
else
read or skip PACK_SIZE bytes
else
read corresponding HEAD_TYPE block:
read HEAD_SIZE-7 bytes
if (HEAD_FLAGS & 0x8000)
read ADD_SIZE bytes
6. go to 4.
==========================================================================
Block Formats
==========================================================================
Marker block ( MARK_HEAD )
HEAD_CRC Always 0x6152
2 bytes
HEAD_TYPE Header type: 0x72
1 byte
HEAD_FLAGS Always 0x1a21
2 bytes
HEAD_SIZE Block size = 0x0007
2 bytes
The marker block is actually considered as a fixed byte
sequence: 0x52 0x61 0x72 0x21 0x1a 0x07 0x00
Archive header ( MAIN_HEAD )
HEAD_CRC CRC of fields HEAD_TYPE to RESERVED2
2 bytes
HEAD_TYPE Header type: 0x73
1 byte
HEAD_FLAGS Bit flags:
2 bytes
0x01 - Volume attribute (archive volume)
0x02 - Archive comment present
0x04 - Archive lock attribute
0x08 - Solid attribute (solid archive)
0x10 - Unused
0x20 - Authenticity information present
other bits in HEAD_FLAGS are reserved for
internal use
HEAD_SIZE Archive header total size including archive comments
2 bytes
RESERVED1 Reserved
2 bytes
RESERVED2 Reserved
4 bytes
Comment block present if (HEAD_FLAGS & 0x02) != 0
File header (File in archive)
HEAD_CRC CRC of fields from HEAD_TYPE to FILEATTR
2 bytes and file name
HEAD_TYPE Header type: 0x74
1 byte
HEAD_FLAGS Bit flags:
2 bytes
0x01 - file continued from previous volume
0x02 - file continued in next volume
0x04 - file encrypted with password
0x08 - file comment present
0x10 - information from previous files is used (solid flag)
(for RAR 2.0 and later)
bits 7 6 5 (for RAR 2.0 and later)
0 0 0 - dictionary size 64 Kb
0 0 1 - dictionary size 128 Kb
0 1 0 - dictionary size 256 Kb
0 1 1 - dictionary size 512 Kb
1 0 0 - dictionary size 1024 Kb
1 0 1 - reserved
1 1 0 - reserved
1 1 1 - file is directory
0x100 - HIGH_PACK_SIZE and HIGH_UNP_SIZE fields
are present. These fields are used to archive
only very large files (larger than 2Gb),
for smaller files these fields are absent.
0x200 - FILE_NAME contains both usual and encoded
Unicode name separated by zero. In this case
NAME_SIZE field is equal to the length
of usual name plus encoded Unicode name plus 1.
0x8000 - this bit always is set, so the complete
block size is HEAD_SIZE + PACK_SIZE
(and plus HIGH_PACK_SIZE, if bit 0x100 is set)
HEAD_SIZE File header full size including file name and comments
2 bytes
PACK_SIZE Compressed file size
4 bytes
UNP_SIZE Uncompressed file size
4 bytes
HOST_OS Operating system used for archiving
1 byte 0 - MS DOS
1 - OS/2
2 - Win32
3 - Unix
4 - Mac OS
5 - BeOS
FILE_CRC File CRC
4 bytes
FTIME Date and time in standard MS DOS format
4 bytes
UNP_VER RAR version needed to extract file
1 byte
METHOD Packing method
1 byte
NAME_SIZE File name size
2 bytes
ATTR File attributes
4 bytes
HIGH_PACK_SIZE High 4 bytes of 64 bit value of compressed file size.
4 bytes Optional value, presents only if bit 0x100 in HEAD_FLAGS
is set.
HIGH_UNP_SIZE High 4 bytes of 64 bit value of uncompressed file size.
4 bytes Optional value, presents only if bit 0x100 in HEAD_FLAGS
is set.
FILE_NAME File name - string of NAME_SIZE bytes size
Comment block present if (HEAD_FLAGS & 0x08) != 0
Comment block
HEAD_CRC CRC of fields from HEAD_TYPE to COMM_CRC
2 bytes
HEAD_TYPE Header type: 0x75
1 byte
HEAD_FLAGS Bit flags
2 bytes
HEAD_SIZE Comment header size + comment size
2 bytes
UNP_SIZE Uncompressed comment size
2 bytes
UNP_VER RAR version needed to extract comment
1 byte
METHOD Packing method
1 byte
COMM_CRC Comment CRC
2 bytes
COMMENT Comment text
Extra info block
HEAD_CRC Block CRC
2 bytes
HEAD_TYPE Header type: 0x76
1 byte
HEAD_FLAGS Bit flags
2 bytes
HEAD_SIZE Total block size
2 bytes
INFO Other data
Subblock
An object in the archive (the block or header) can be followed
by a subblock. The subblock is dependent upon the main object.
Subblock can be erased or moved to a new version of the archive
when it is updated.
The subblock contains the following fields:
HEAD_CRC Block CRC
2 bytes
HEAD_TYPE Header type: 0x77
1 byte
HEAD_FLAGS Bit flags
2 bytes
(HEAD_FLAGS & 0x8000) == 1, because full
block size is HEAD_SIZE + DATA_SIZE
HEAD_SIZE Total block size
2 bytes
DATA_SIZE Total data size
4 bytes
SUB_TYPE Subblock type
2 bytes
RESERVED Must be 0
1 byte
Other Other fields depending on the subblock type
fields
OS/2 extended attributes subblock
HEAD_CRC Block CRC
2 bytes
HEAD_TYPE Header type: 0x77
1 byte
HEAD_FLAGS Bit flags
2 bytes
(HEAD_FLAGS & 0x8000) == 1, because full
block size is HEAD_SIZE + DATA_SIZE
HEAD_SIZE Total block size
2 bytes
DATA_SIZE Total data size (packed extended attributes size)
4 bytes
SUB_TYPE 0x100
2 bytes
RESERVED Must be 0
1 byte
UNP_SIZE Uncompressed extended attributes size
4 bytes
UNP_VER RAR version needed to extract extended attributes
1 byte
METHOD Packing method
1 byte
EA_CRC Extended attributes CRC
4 bytes
==========================================================================
Application notes
==========================================================================
1. To process an SFX archive you need to skip the SFX module searching
for the marker block in the archive. There is no marker block sequence (0x52
0x61 0x72 0x21 0x1a 0x07 0x00) in the SFX module itself.
2. The CRC is calculated using the standard polynomial 0xEDB88320. In
case the size of the CRC is less than 4 bytes, only the low order bytes
are used.
3. Packing method encoding:
0x30 - storing
0x31 - fastest compression
0x32 - fast compression
0x33 - normal compression
0x34 - good compression
0x35 - best compression
4. The RAR extraction version number is encoded as 10 * Major version
+ minor version.
WinRAR/UnrarSrc.txt
Unrar sources, unrar.dll library and uncompressed versions of SFX modules
may now be downloaded from the RAR home page www.rarsoft.com