Microsoft Windows XP, Microsoft Windows XP OEM Upgrade
Extracts a file from a compressed file. Use this command to extract a driver file from a cabinet (.cab) or compressed file.
The expand command with the parameters listed below is only available when you are using the Recovery Console. The expand command with different parameters is available from the command prompt.
expand source [/F:filespec}] [destination] [/d] [/y]
The following example extracts the file Msgame.sys from the Drivers cabinet file on a Setup CD and copies it to C:\Windows\System\Drivers:
The following example expands the compressed file Access.cp_:
The following example lists all the files in the Drivers cabinet file on the Setup CD:
The Driver cabinet file, which contains most of the drivers provided by Windows, includes thousands of files. Expanding all of the files from this cabinet file onto your hard disk will take time and a lot of disk space. It is recommended that you extract only the file you need from this file.
If the destination is not specified, the file is copied to the current directory.
You cannot specify removable media such as a floppy disk drive or a CD-ROM as the destination.
Information in this document was provided by the manufacturer.