Site hosted by Angelfire.com: Build your free website today!

MS-DOS External Commands

The EXPAND Command

Description:

Expands one or more compressed files.

Command Syntax:

EXPAND [drive:][path]filename [[drive:][path]filename [...]] destination

Explanation of Syntax:

[drive:][path]filename specifies the location and/or name of a file or set of files to be expanded. You cannot use wildcards.
destination specifies the new location and/or name of an expanded file or set of files. Destination can be a drive letter and colon, directory name, filename, or combination.

The destination can only be a filename if you have specified a single filename for the source filename parameter. To expand a file or set of files to a different directory and keep the original filename(s), specify only a directory as the destination.

Command Use:

This command can be used at the command prompt and in batch files.