How to extract files from the command line in WinRAR?
Written by Shareware Rating on June 23rd, 2009 in Utilities.
Tags: free winrar download, install winrar, unzip zip, upzip rar, WinRAR, WinRAR download., WinRAR Reviews
WinRAR is one of the most easy to use archive compression tools. And most of files can be easily extracted or compressed, especially it did a really good job when compressing larger file. So if you need to compress large files frequently, WinRAR is a good choice.
WinRAR is available in over 40 languages. The command line version RAR is available for Linux, DOS, OS/2, FreeBSD and MAC OS X.Pocket RAR, the free WinRAR version for Pocket PCs, completes the compression product range. WinRAR puts you ahead of the crowd when it comes to compression. By consistently creating smaller archives, WinRAR for Windows is often faster than the competition. This will save you disc space, transmission costs AND valuable working time as well.
How to extract files from the command line in WinRAR?
Common command line syntax to extract files with full paths:
WINRAR X [ -switches ] <Archive> [ Files ] [ @File lists ] [ Destination folder\ ]
To extract files, ignoring paths:
WINRAR E [ -switches ] <Archive> [ Files ] [ @File lists ] [ Destination folder\ ]
For example if you wish extract the file LETTER.TXT to the current folder from the archive LETTERS.RAR, use the following command:WINRAR X LETTERS.RAR LETTER.TXT
Archive extension is optional and may be omitted.
The next command extracts all *.WAV files from the archive Songs to the folder Audio:
WINRAR X Songs *.WAV Audio\
It is also possible to list the files to be extracted in a file, rather than listing them on the command line. In this case the name of the file, containing the list of files to be archived, must be given on the command line. This is indicated by placing the symbol @ before this file name. Thus, if you create a file, Binaries, containing the strings *.exe and *.com, execute the command:
WINRAR X TOOLS @Binaries, all files with EXE and COM extensions from the archive TOOLS will be extracted to the current folder.During the extraction process, a window containing statistics, will be displayed. If you wish to break the extraction process, click on the Cancel button in the command window. You may press the “Background” button in this window to minimize WinRAR to the tray. If extraction is completed, without problems, WinRAR will terminate, in the case of an error, a Diagnostic message window will be displayed.
Download Free Trial
|
Only$29.00 |


