HomeSearchContact UsForum

Home arrow FAQs arrow How to extract a system file from the Windows setup CD-ROM?
How to extract a system file from the Windows setup CD-ROM? PDF Print E-mail
Click here to run a free scan for dll/ocx related errors
Monday, 17 September 2007

There are situations where you need to expand a DLL file or any other system file from the Windows setup CD-ROM, in order to replace a corrupt or missing file in the system. Here are the instructions to expand a file from the source CD.

Note: If you have a Service Pack installed, you need to extract the latest copy of the DLL. Your base Windows setup CD (without any Service Packs included) will not help if you already have a Service Pack installed in your system. Therefore, make sure that you're extracting the system file from a slipstreamed Windows setup CD-ROM (SP2 integration), or get the updated files from %Windir%\ServicePackFiles\i386 folder.

There are situations where you need to expand a DLL file or any other system file from the Windows setup CD-ROM, in order to replace a corrupt or missing file in the system. Here are the instructions to expand a file from the source CD.

Note: If you have a Service Pack installed, you need to extract the latest copy of the DLL. Your base Windows setup CD (without any Service Packs included) will not help if you already have a Service Pack installed in your system. Therefore, make sure that you're extracting the system file from a slipstreamed Windows setup CD-ROM (SP2 integration), or get the updated files from %Windir%\ServicePackFiles\i386 folder.

Extracting a file from Windows XP CD-ROM

Insert your Windows setup CD-ROM into the drive. Click Start, Run and type CMD.EXE. Use the Expand command. Here are some examples - to expand a file from the CD:

Examples


Expand d:\i386\hal.dl_ c:\windows\system32\hall.dll

About expand

The expand command is use to take a compressed Windows file and "expand" it to its original format.

Early expand command syntax

Microsoft (R) File Expansion Utility Version 2.00
Copyright (C) Microsoft Corp 1990-1991. All rights reserved.

Expands one or more compressed files.

EXPAND [-r] Source Destination
EXPAND -rSource [Destination]

 

-rAutomatically rename expanded files. Only valid for files compressed with -r switch.
SourceSource file specification. Source may be multiple file specifications. Wildcards may be used.
DestinationDestination file / path specification. Destination may be a directory. If Source is multiple files and -r is not specified, Destination must be a directory. Wildcards may not be used.

Recent expand command syntax

Microsoft (R) File Expansion Utility Version 5.00.2134.1
Copyright (C) Microsoft Corp 1990-1999. All rights reserved.

Expands one or more compressed files.

EXPAND [-r]Source Destination
EXPAND -rSource [Destination]
EXPAND -DSource.cab [-F:Files]
EXPAND Source.cab-F:Files Destination

 

-rRename expanded files.
-DDisplay list of files in source.
SourceSource file specification. Wildcards may be used.
-F:FilesName of files to expand from a .CAB.
DestinationDestination file | path specification.
Destination may be a directory.
If Source is multiple files and -r is not specified, Destination must be a directory.

Recovery console expand command syntax

Expands a compressed file.

EXPAND source [/F:filespec] [destination] [/Y]
EXPAND source [/F:filespec] /D

sourceSpecifies the file to be expanded. May not include wildcard (* and ?) characters.
DestinationSpecifies the directory for the new file. The default is the current directory.
/yDo not prompt before overwriting an existing file.
/f:filespecIf the source contains more than one file, this parameter is required to identify the< specific file(s) to be expanded. May include wildcards.
/dDo not expand; only display a directory of the files which are contained in the source.

The destination might be any directory within the system directories of the current Windows installation, the root of any drive, the local installation sources, or the Cmdcons directory. The destination cannot be removable media. The destination file cannot be read-only. Use the attrib command to remove the read-only attribute. Expand prompts if the destination file already exists unless /Y is used.

Repair expand command syntax

Expands a compressed file.

EXPAND source [/F:filespec] [destination] [/Y]
EXPAND source [/F:filespec] /D

sourceSpecifies the file to be expanded. May not include wildcards.
destinationSpecifies the directory for the new file. Default is the current directory.
/YDo not prompt before overwriting an existing file.
/F:filespecIf the source contains more than one file, this parameter is required to identify the specific file(s) to be expanded. May include wildcards.
/DDo not expand; only display a directory of the files which are contained in the source.

The destination may be any directory within the system directories of the current Windows installation, the root of any drive, the local installation sources, or the cmdcons directory.

The destination cannot be removable media.

The destination file cannot be read-only. Use the ATTRIB command to remove the read-only attribute.

EXPAND prompts if the destination file already exist unless /Y is used.

Comments (0)Add Comment

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley

Copyright 2007. All Rights Reserved.
busy
Last Updated ( Monday, 17 September 2007 )
 
< Prev   Next >

Related Items