This command-line tool extracts individual files from compressed cabinet (.cab) files. Using cabinet files is a highly efficient method of compression and distribution that has been used by Microsoft for many years. It is now available to anyone who needs to compress and distribute multiple files.
The cabinet file format is a nonproprietary format based on Lempel-Ziv compression. At the heart of this format is the MakeCAB compression tool, a loss-less data compression tool included with Windows 2000 that provides efficient compression for setup programs and Internet applications. By using MakeCAB, you can store multiple files in a single cabinet file and carry compression across files.
Note
File Required
Extract.exe Topics
extract cabinet [filename ...] [/a] [{/d | /e}] [/l dir] [/y]
- or -
extract source {[newname] | destination /c} [/y]
Where:
When you type:
C:\Cconnect\Client>extract cconnect.cab /d
you get the following information returned:
Microsoft (R) Cabinet Extraction Tool - Version 5.00.2090.1
Copyright (C) Microsoft Corp. 1981-1999.
Cabinet cconnect.cab
08-17-1999 6:04:48p A--- 118,784 CConnect.exe
06-27-1999 8:00:00p A--- 1,384,448 msvbvm60.dll
06-27-1999 8:00:00p A--- 606,480 oleaut32.dll
06-27-1999 8:00:00p A--- 164,112 olepro32.dll
06-27-1999 8:00:00p A--- 147,728 asycfilt.dll
06-27-1999 8:00:00p A--- 16,896 stdole2.tlb
05-31-1998 12:00:00a A--- 22,288 COMCAT.DLL
06-27-1999 8:00:00p A--- 73,776 wshom.ocx
06-27-1999 8:00:00p A--- 61,491 wbemdisp.tlb
03-26-1999 12:00:00a A--- 118,784 MSSTDFMT.DLL
03-26-1999 12:00:00a A--- 249,856 SETUP1.EXE
03-26-1999 12:00:00a A--- 101,888 VB6STKIT.DLL
03-26-1999 12:00:00a A--- 73,216 ST6UNST.EXE
13 Files 3,139,747 bytes
When you type:
C:\Cconnect\Client>extract cconnect.cab c:\cconnect /c
you get the following information returned:
Microsoft (R) Cabinet Extraction Tool - Version 5.00.2090.1
Copyright (C) Microsoft Corp. 1981-1999.
Extracting cconnect.cab -> c:\cconnect\cconnect.cab
When you type:
C:\Cconnect\Client>extract cconnect.cab /e /l c:\cconnect\temp
you get the following information returned:
Microsoft (R) Cabinet Extraction Tool - Version 5.00.2090.1
Copyright (C) Microsoft Corp. 1981-1999.
Cabinet cconnect.cab
Extracting c:\cconnect\temp\CConnect.exe
Extracting c:\cconnect\temp\msvbvm60.dll
Extracting c:\cconnect\temp\oleaut32.dll
Extracting c:\cconnect\temp\olepro32.dll
Extracting c:\cconnect\temp\asycfilt.dll
Extracting c:\cconnect\temp\stdole2.tlb
Extracting c:\cconnect\temp\COMCAT.DLL
Extracting c:\cconnect\temp\wshom.ocx
Extracting c:\cconnect\temp\wbemdisp.tlb
Extracting c:\cconnect\temp\MSSTDFMT.DLL
Extracting c:\cconnect\temp\SETUP1.EXE
Extracting c:\cconnect\temp\VB6STKIT.DLL
Extracting c:\cconnect\temp\ST6UNST.EXE
When you type:
C:\Cconnect\Client>extract cconnect.cab cconnect.exe setup1.exe /l c:\cconnect\temp
you get the following information returned:
Microsoft (R) Cabinet Extraction Tool - Version 5.00.2090.1
Copyright (C) Microsoft Corp. 1981-1999.
Cabinet cconnect.cab
Extracting c:\cconnect\temp\CConnect.exe
Extracting c:\cconnect\temp\SETUP1.EXE