Softsystemware: Extracting with WinRar

Tuesday, October 20, 2009

Extracting with WinRar

Extracting files in Explorer or Desktop:



   If you did not disable the "Integrate WinRAR into shell" option when installing WinRAR, it is possible to extract files directly in a Windows shell. Press the right mouse button on archive icon, select "Extract files…" command, enter the destination folder in the dialog box and click the "OK" button. This dialog box offers a few advanced options (see Extraction path and options dialog for more information).
   You may also select the "Extract to " command to extract to the proposed folder name without additional requests or "Extract Here" to extract to the current folder.

 Note that if option "Cascaded context menus" in Integration settings dialog is switched on, you need to open "WinRAR" submenu to access to described above commands. Otherwise they reside in the top level menu.
   Another method is to drag one or several archives using the right mouse button and drop them to the destination folder and then select "Extract Here" in the menu which will appear.

  • Extracting files from the command line

       Common command line syntax to extract files with full paths:
    • WINRAR X [ -switches ] [ Files ] [ @File lists ] [ Destination folder\ ]
    •  To extract files, ignoring paths:
      WINRAR E [ -switches ] [ 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.

       In order to extract files using WinRAR shell mode you must first open the required archive in WinRAR. This may be achieved in one of several ways:

     · double-click or press Enter on the archive name in Windows shell (Explorer or Desktop). If WinRAR was associated with archives during installation (the default installation option), an archive will be opened in WinRAR. You also may associate WinRAR with archives after installation using Integration settings dialog;
     · double-click or press Enter on the archive name in WinRAR window;
     · drag-and-drop an archive to the WinRAR icon or window. Before doing this ensure that WinRAR does not already display another archive, otherwise the dropped archive will be added to the currently displayed archive;
     · run WinRAR from the command line with a single parameter - the archive name.

       When an archive is opened in WinRAR, its contents are displayed. Select files and folders, which should be extracted. You may do this using Shift + arrow keys or Shift + left mouse button as in Windows Explorer and other Windows programs. Also in WinRAR it is possible to select files using Space or Ins keys. "Gray +" and "Gray -" keys on the numeric keypad allow the selection of groups of files using file masks.

       Having selected one or more files, click the Extract To button at the top of the WinRAR window or press Alt+E , enter the destination folder in the dialog box and click on OK. This dialog box also offers a few advanced options (see Extraction path and options dialog for more information).

       During the extraction process, a window will be displayed showing operation statistics. 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 the extraction is completed without errors, WinRAR will return to the shell, in case of an error, a Diagnostic message window will be displayed.

No comments:

Post a Comment