The famous WinRAR compression software can also use in DOS, in the WinRAR directory has a RAR executable file can help
Help us to complete the compression under DOS.
the specific usage:
RAR < command >-< switch 1>-< switch n> < compressed file > < file ...>
<@ List File ...> < release path/>
parameter Description: < command >
A add files to the compressed file
C Add compressed file annotation
CF Add File Comment
CW writes compressed file annotation to file
d Delete files from compressed files
E release files to current directory
F Update files in compressed files
K Lock Compressed file
L[T] List compressed files [technology]
M[F] Move to compressed archive [files only]
P print file to standard output device
R Repair Compressed Files
RC Rebuilding of Lost volumes
RR[N] Add Data Recovery records
Rv[n] Create a recovery volume
s[name | |] Convert compressed file into self-extracting file
T test compressed files in file
U update files in compressed files
V[T] List compressed file details [technology]
x free file with full path
< switch >
-Stop Switch scan
Clear the archive attribute after AC compression or release
Ad Add file file name to target path
ag[format] Use the current date as the compressed package name
AO add a file with the archive attribute
ap< path > Set compressed archive internal path
As Synchronizing archive content
AV Set user authentication (for registered version only)
av-Prohibit user authentication checks
C-Barred annotation display
cfg-prohibit read configuration settings file
CL convert name to lowercase letter
CU Conversion name is uppercase
DF to delete files after generating compressed files
DH Open a shared file
DS Prohibit fixed compressed file name sorting
e< Properties > Setting the file attributes to exclude
Ed does not add empty directories
En do not place ' end of file ' block
EP Exclude Path by name
EP1 exclude the home directory by name
EP2 extended to full path
F Update Files
hp[Password] Encrypt file data and file headers
IDP Prohibition Percentage display
ieml[Address] Send an archive via email
Ierr Send all information to standard error display device
ilog[file name] Log error message to file (available only in registered version)
Inul Prohibit all information
Isnd Allow sound prompts
K Lock Compressed file
KB continues to release corrupted files
M<0..5> set Compression level (0-storage ...) 3-Default ... 5-Max)
mc< Parameters > Setting Advanced compression parameters
md< size > Dictionary size in kilobytes (64,128,256,512,1024,2048,4096 or A-G)
Ms[ext;ext] Specifies the type of file to save
o+ overwrite files that already exist
o does not overwrite files that already exist
OS Save NTFS data stream
ow Save or restore owner group
p[Password] Set password
P-Don't ask for password
R contains all subdirectories
R0 only contains all subdirectories that match wildcard characters
Ri<p>[:<s>] Set Priority (0-default, 1-low). 15-high) and millisecond sleep pause time
RR[N] Add Data Recovery records
Rv[n] Create a recovery volume
S[<N>,V[-],E] Create a fixed compressed file
S-Forbidden to create fixed compressed files
sfx[Name] Create self-extracting file
T after compression test file
ta< date > process files modified after < date > described in YYYYMMDDHHMMSS format
tb< date > process files modified before < date > described in YYYYMMDDHHMMSS format
TK keeps the original compressed file time
TL Sets the compressed file time to the latest time
tn< time > Processing ratio < time > new files
to< time > Processing ratio < time > old files
U Update files
V automatically detects size or lists all of the volumes when creating a volume compression
v< size >[k,b] Create a volume compression size =< size >*1000 [*1024, *1]
Disk content is cleared before VD creates volume compression
Ver[n] File version control
VN a volume naming scheme using the old schema
VP pauses before each volume is compressed
w< path > Specify working directory
x< file > exclude specified files
x@ read the file name to exclude from the standard input device
x@< list > Exclude files in a specified list file
Y all the inquiries are answered yes
z< file > Read compressed file comments from files
use winrar compressed file in DOS (CMD) for specific examples:
For example, after entering the RAR directory, at the DOS prompt, enter:
RAR a compressed file name. rar "Compressed file and directory address"
Enter. (Cncfan.com collection and collation)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.