| 1 |
cabextract 1.11 - a program to extract Microsoft Cabinet files. |
| 2 |
(C) 2000-2023 Stuart Caie <[email protected]> |
| 3 |
This is free software with ABSOLUTELY NO WARRANTY. |
| 4 |
|
| •5 |
Cabinet (.CAB) files are a form of archive, which Microsoft uses to |
| 6 |
distribute their software, and things like Windows Font Packs. The |
| 7 |
cabextract program unpacks these files. |
| 8 |
|
| 9 |
For more information, see https://www.cabextract.org.uk/ |
| 10 |
or run the command 'cabextract --help'. |
| 11 |
|
| 12 |
Microsoft cabinet files should not be confused with InstallShield cabinet |
| 13 |
files. InstallShield files are generally called "_sys.cab", "data1.hdr" |
| 14 |
"data1.cab", "data2.cab" and so on, and are found in the same directory as |
| 15 |
"setup.exe". They begin with the magic characters "ISc(" rather than |
| 16 |
"MSCF". cabextract will print the message "This is probably an |
| 17 |
InstallShield file." when it finds such a file. The file "doc/magic" in |
| 18 |
the cabextract source archive includes additional file-identification |
| 19 |
rules for the UNIX file(1) command, which distinguishes between Microsoft |
| 20 |
and InstallShield cabinet files. |
| 21 |
|
| 22 |
Example usage: |
| 23 |
|
| 24 |
Extracting files from a cabinet file: |
| 25 |
$ cabextract wibble.cab |
| 26 |
|
| 27 |
Extracting files from an executable which contains a cabinet file: |
| 28 |
$ cabextract wibble.exe |
| 29 |
[cabextract will automatically search executables for embedded cabinets] |
| 30 |
|
| 31 |
Extracting files from a set of cabinet files; wib01.cab, wib02.cab, ...: |
| 32 |
$ cabextract wib01.cab |
| 33 |
[cabextract will automatically get the names of the other files] |
| 34 |
|
| 35 |
Extracting files to a directory of your choice (in this case, 'boogie'): |
| 36 |
$ cabextract -d boogie wibble.cab |
| 37 |
[cabextract will create the directory if it does not already exist] |
| 38 |
|
| 39 |
Extracting files that match a filename pattern: |
| 40 |
$ cabextract -F *.avi -F *.mpg movies.cab |
| 41 |
|
| 42 |
Listing files from a cabinet file: |
| 43 |
$ cabextract -l wibble.cab |
| 44 |
|
| 45 |
Testing the integrity of a cabinet file, without extracting it: |
| 46 |
$ cabextract -t wibble.cab |