Microsoft DOS extract command

Quick links

About extract
Availability
Syntax
Examples

About extract

The Windows extract command is used to take files that are compressed in a Windows Cabinet file and place it into a specified location on the hard disk drive.

An additional definition and related terms for "extract" can be found on our extract definition page.

Availability

The extract command is an external command and is available in the below Microsoft operating systems.

Windows 95
Windows 98
Windows ME
Windows NT

Syntax

Microsoft (R) Cabinet Extraction Tool - Version (16) 1.00.603.0 (08/14/97)
Copyright (c) Microsoft Corp 1994 - 1997. All rights reserved.

EXTRACT [/Y] [/A] [/D | /E] [/L dir] cabinet [filename ...]
EXTRACT [/Y] source [newname]
EXTRACT [/Y] /C source destination

cabinetCabinet file (contains two or more files).
filenameName of the file to extract from the cabinet. Wild cards and multiple filenames (separated by blanks) may be used.
sourceCompressed file (a cabinet with only one file).
newnameNew filename to give the extracted file. If not supplied, the original name is used.
/AProcess ALL cabinets. Follows cabinet chain starting in first cabinet mentioned.
/CCopy source file to destination (to copy from DMF disks).
/DDisplay cabinet directory (use with filename to avoid extract).
/EExtract (use instead of *.* to extract all files).
/L dirLocation to place extracted files (default is current directory).
/YDo not prompt before overwriting an existing file.

Examples

Additional information and examples can be found on document CH000363.