How to extract files from the Windows cabinets
Windows cabinets are file archives that end with the extension .cab. They contain essential files needed for installing Windows and other software onto the computer later.
This page does not cover how to extract files from other compressed files, like .zip, and .rar. For help with these files, see: How to extract or decompress a compressed file.
Because of the differences in the various versions of Windows, follow only the instructions for your version of Windows to help prevent confusion.
Introduction
Before extracting any files from the cabinets, ensure that the below information is known.
Location of cabinets | Where the cabinets are located. Below is a listing of locations to where the cabinets may be located:
D:\WIN95 *The above listings are assuming you have installed Windows at C:\Windows and that the CD-ROM (Compact Disc Read-Only Memory) drive is D:\. If you are using a diskette version of Windows 95, determine what cabinet holds the file that needs to be extracted. For example, if the file is win95_04.cab the file is located on disk 4. |
Extraction Tool | Windows 98 and Internet Explorer 4.0 use a new algorithm to compress the cabinet and therefore cannot use the Extract.exe file included with Windows 95. It is required that the user use the Extract.exe included with the operating system or version of Internet Explorer. |
Below is a listing of commonly used or needed extract lines and a short description of each line. For a listing of all switches and options, see our extract command overview.
extract /d c:\windows\options\cabs\win95_02 - Utilizing the /d switch lists the contents of the win95_02 cabinet.
extract /a /d c:\windows\options\cabs\win95_02.cab mmsystem.dll - Utilizing the /a and /d switch locates the mmsystem.dll by searching win95_02.cab and beyond.
extract c:\windows\options\cabs\win95_10.cab mmsystem.dll /l c:\windows\system - Knowing what cabinet contains a particular file, you can use this command to extract file(s). The /l switch is used to specify the location to where you want the file to be placed once extracted.
extract /a c:\windows\options\cabs\win95_02.cab mmsystem.dll /l c:\windows\system - Using the /a switch searches cabinets 02 and beyond for mmsystem.dll. Once located, the file would be extracted from the appropriate cabinet and then placed into the c:\window\system directory. The location of the cabinet may vary on your computer.
Windows 98 and Windows Me users
Users who are using Windows 98 or Windows Me can double-click the cabinet containing the file they need, and copy and paste that file from that cabinet.
Users who are using Windows 98 or Windows Me can search the directory with the cabinet files. In the Find: All Files dialog box, type the name of the file you are looking for in the Containing Text box. For further help, see: How to find a file on a computer.
Users who need to restore from the command line can use the Windows extract command helper tool by typing ext when booting from the Windows 98 or Windows Me startup diskette.
Windows 98 and Windows Me users can use the Windows System File Checker Tool to extract files by following the steps below.
- Click Start, Programs, Accessories, System Tools, and click the System Information icon.
- From the Tools drop-down menu, select System File Changer.
- Specify the system file to restore and click Start.
Windows Me reporting extract file error because of protected files
Receiving the below error when attempting to extract Windows Me files.
Extract File
The specified file is protected and may not be copied or deleted.
To bypass this error, follow the steps below:
- Click Start, Programs, Accessories, System Tools, and click the System Information icon.
- From the Tools drop-down menu, select System Configuration Utility.
- Click Extract File.
- In the extract one file from installation dialog box, type the name of the file to extract, and click start.
- In the Restore from box, type the location of the cabinets.
- In the Save in box, type c:\ and press Enter.
- Click OK and then Yes to create a folder for the extracted file.
- Drag the new extracted file from the new location to the location where the file needs to be placed.
- Reboot the computer.