This step-by-step article describes how to extract compressed files. Many
Microsoft product files are compressed and stored in cabinet (.cab) files; to
use a file in a .cab file, you must first extract that file. You may want to
extract a new copy of a file if you have a missing or damaged file. This
article shows you multiple methods for doing so. Windows 95 and Windows 98 are
available on CD-ROM or floppy disks, both of which contain compressed cabinet
files. Windows Millennium Edition (Me) is available on CD-ROM; it contains
compressed cabinet files and also installs compressed cabinet files in the
C:\Windows\Options\Install folder. These cabinet files contain the actual
Windows files. This article describes how to extract individual files from
compressed cabinet files.
back to the top
To extract files in Windows Me, use the System Configuration Utility tool. To do this, follow these steps:
Because Windows Me has a feature called System File Protection, extraction is different for these files. For additional information about how to extract protected files in Windows Me, click the article number below to view the article in the Microsoft Knowledge Base:
265371 How to Extract and Replace a Protected File in Windows Me
When you install Windows Me, you are prompted to create a Windows Me
startup disk. A feature included in the Windows Me startup disk is support for
CD-ROM drives. This may be of benefit if you have to extract a file from the
Windows Me CD-ROM but you cannot use the System Configuration Utility tool
(for example, if your computer does not start properly).
NOTE: The Windows Me startup disk provides support for most
types of CD-ROM drives, including IDE and SCSI CD-ROM drives, but it may not
support your particular CD-ROM drive.
Create a Startup Disk
You must have a Windows Me startup disk to perform the steps in the following
sections of this article. If you do not have one, you can create one using any
Windows Me-based computer to which you have access. To create a Windows Me
startup disk, follow these steps:
Extract Files By Using Startup Disk
To start your computer with CD-ROM support and then extract files, follow
these steps:
To extract files in Windows 98 or Windows 98 Second Edition, use the System File Checker tool. To do this, follow these steps:
When you install Windows 98, you are prompted to create a Windows 98
startup disk. A feature included in the Windows 98 startup disk is support for
CD-ROM drives. This may be of benefit if you have to extract a file from the
Windows 98 CD-ROM but you cannot use System File Checker tool (for example, if
your computer does not start properly).
NOTE: The Windows 98 startup disk provides support for most
types of CD-ROM drives, including IDE and SCSI CD-ROM drives, but it may not
support your particular CD-ROM drive.
Create a Startup Disk
You must have a Windows 98 startup disk to perform the steps in the following
sections of this article. If you do not have one, you can create one by using
any Windows 98-based computer to which you have access. To create a Windows 98
startup disk, follow these steps:
NOTE: If you do not have a startup disk or access to a Windows 98-based computer, you may be able to create one from the MS-DOS prompt on your computer. For additional information about how to create a startup disk in MS-DOS for Windows 98, click the article number below to view the article in the Microsoft Knowledge Base:
186300 How to Create a Windows 98 Startup Disk from MS-DOS for Windows 98
Extract Files by Using Startup Disk
To start your computer with CD-ROM support and then extract files, follow
these steps:
To extract files in Windows 95, use the extract command. To do this, follow these steps.
copy cd_drive:\extract.exe hard_disk:\
where cd_drive is the drive that contains the Windows 95
CD-ROM or disk and hard_disk is your hard disk. For example:
copy a:\extract.exe c:\
extract source path\ file /L c:\windows\command
For example, if the source path is C:\Cabs, the extract command is
extract drive:\cabs\file /L drive:\windows\path
where drive is the drive on which Windows is installed
(typically drive C), path is the destination folder for the
extracted file, and file is the file that you want to extract.
Type the following command, and make the appropriate substitutions as
previously noted:
extract source path\ file /L c:\windows\command
Access Denied Error
The Extract tool has only a command-line interface. That is, there is no
graphical user interface (GUI). Because Windows does not allow you to delete
or overwrite a file that is in use, you may have to restart your computer in
Command Prompt Only mode before you can use the Extract tool. If you receive
an "access denied" error message when you try to delete a file before using
the Extract tool, or when you use the Extract tool to overwrite an existing
file, restart your computer in Command Prompt Only mode and then use the
Extract tool. To do this, follow these steps:
NOTE: If you are extracting Windows files from a CD-ROM, make
sure that you can change directories to your CD-ROM drive from the command
prompt. For example, type the following, pressing ENTER after each line:
cd drive:
dir
where drive is the drive letter of your CD-ROM drive.
If you receive an "invalid drive specification" error message, you may not
have real-mode CD-ROM support. For additional information about real-mode
CD-ROM support, click the article number below to view the article in the
Microsoft Knowledge Base:
135174 Cannot Access CD-ROM Drive from MS-DOS Mode or Command Prompt
When you install Windows 95, you are prompted to create a Windows 95
startup disk. A feature included in the Windows 95 startup disk is support for
CD-ROM drives. This may be of benefit if you have to extract a file from the
Windows 95 CD-ROM but you are cannot use the preceding steps (for example, if
your computer does not start properly).
NOTE: The Windows 95 startup disk provides support for most
types of CD-ROM drives, including IDE and SCSI CD-ROM drives, but it may not
support your particular CD-ROM drive.
Create a Startup Disk
You must have a Windows 95 startup disk to perform the steps in the following
sections of this article. If you do not have one, you can create one by using
any Windows 95-based computer to which you have access. To create a Windows 95
startup disk, follow these steps:
NOTE: If you do not have a startup disk or access to a Windows 95-based computer, you may be able to create one from the MS-DOS prompt on your computer. For additional information about how to create a startup disk in MS-DOS for Windows 95, click the article number below to view the article in the Microsoft Knowledge Base:
284943 How to Create a Windows 95 Startup Disk in MS-DOS
Extract Files by Using Startup Disk
To start your computer with CD-ROM support and then extract files, follow
these steps:
extract source path\ file /L c:\windows\command
For example, if the source path is C:\Cabs, the extract command is
a:\extract drive:\cabs\file /L drive:\windows\path
where drive is the drive on which Windows is installed
(typically drive C), path is the destination folder for the
extracted file, and file is the file you want to extract.
Type the following command at the command prompt, making the appropriate
substitutions as previously noted, and then press ENTER:
a:\extract source path\ file /L c:\windows\command
| Last Reviewed: | 12/3/2002 |
| Keywords: | kbFAQ kbhowto kbHOWTOmaster kbProd2Web KB129605 |