Quincy Center for Technical Education
Computer Technology Department

Expand

Expands one or more compressed files. This command is used to retrieve compressed files from distribution disks.

expand [-r] source [destination]

expand -d source.cab [-f:files]

expand source.cab -f:files destination

 

Parameters

-r

Renames expanded files.

-d

Displays a list of files in the source location. Does not expand or extract the files.

-f:files

Specifies the files in a cabinet (.cab) file you want to expand. Wildcards (* and ?) can be used.

source

Specifies the files to expand. Source can consist of a drive letter and colon, a directory name, a file name, or a combination. Wildcards can be used.

destination

Specifies where files are to be expanded. If source is multiple files and -r is not specified, destination must be a directory. Destination can consist of a drive letter and colon, a directory name, a file name, or a combination.