
When you install WinRar, two command-line tools are also installed, rar.exe and unrar.exe. They will be located in C:\Program Files\WinRAR by default.
Here's an example of how to extract the contents of a single rar file:
- Open a command prompt
(Windows 2000/xp, choose start->programs->accessories->Command Prompt) - Add the winrar tools to the path:
c:\> set path="C:\Program Files\WinRAR\";%path% - Switch to the directory where you want your files to extract to:
c:\> cd /d z:\some_folder - Use unrar to extract the file:
z:\some_folder> unrar e c:\some_rar_file.rar















