Condividi tramite


Expand

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

Syntax

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. You can use wildcards (* and ?).

Source   : Specifies the files to expand. Source can consist of a drive letter and colon, a directory name, a file name, or a combination. You can use wildcards (* and ?).

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.

/? : Displays help at the command prompt.

Remarks

  • Using expand at the Recovery Console

    The expand command, with different parameters, is available from the Recovery Console.

Formatting legend

Format

Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

Command-line reference A-Z