EXTRACT.exe / Extrac32.exe

Uncompress one or more compressed .CAB cabinet files.

Syntax
      EXTRACT  [/Y] [/A] [/D | /E] [/L dir] cabinet [filename...]

      Extrac32 [/Y] [/A] [/D | /E] [/L dir] cabinet [filename...]

      Extrac32 [/Y] source [newname]

      Extrac32 [/Y] /C source destination

Key
   cabinet    Cabinet file (contains two or more files.)

   filenames  Name of the file to extract from the cabinet
              Wild cards (*.*) (.) and multiple files (separated by
              blanks are valid.

   source   Compressed file (a cabinet with only one file.)

   newname  New filename to give the exracted file.
            If not supplied the original name is used.

   /A       Process ALL cabinets. Follow cabinet chain.

   /C       Copy source file to destination (to copy from DMF floppy disks.)

   /D       Display cabinet directory (use with filename to avoid extract)

   /E       Extract all (use instead of *.* to extract all files)

   /L dir   Location to place extracted files (default is current folder)

   /Y       Overwrite files without any prompt

Extrac32.exe is part of Internet Explorer, it can be used from the command line, but does not display any output on the console.
The output can be revealed by redirecting it through the more utility extrac32.exe /? | more

Examples

Extracting the archive demo.cab to the work folder:

C:\> extrac32.exe demo.cab /L "C:\work\"

Create a self extracting archive containing movie.mov:

C:\> makecab movie.mov "temp.cab"
C:\> copy /b "%windir%\system32\extrac32.exe"+"temp.cab" "movie.exe"
C:\> del /q /f "temp.cab"

“It is not the man who has too little, but the man who craves more, who is poor” ~ President José Mujica

Related commands

ATTRIB - Display or change file attributes.
COPY - Copy one or more files to another location.
MAKECAB - Create .CAB file.
Q132913 - Extract utility.
Equivalent bash command (Linux): gzip - Compress or decompress named file(s).


 
Copyright © 1999-2024 SS64.com
Some rights reserved