EXPAND
(expand)
Microsoft
(R) 文件展开实用程序  版本
5.1.2600.0
版权所有 (C) Microsoft Corp
1990-1999。保留所有权利。
展开一个或多个压缩文件。
EXPAND
[-r] Source Destination
EXPAND
-r Source [Destination]
EXPAND
-D Source.cab [-F:Files]
EXPAND
Source.cab -F:Files Destination
  -r           
     重命名经过扩充的文件。
  -D           
    显示来源中的文件列表。
  Source          源文件规格。  可使用通配字符。
  -F:Files          从 .CAB 文件扩充的文件的名称。
  Destination   目标文件
| 路径规格。
             
      目标可以是目录。
               
     如果来源是多个文件且没有指定 -r ,目标则必须是目录。
★★★★★实例★★★★★:
假设你不小心地把SORT.EXE文件从驱动器C的DOS目录下删除了,那么你可以把MS-DOS 6.22 Setup盘上的SORT.EX_文件展开而后拷贝到你的硬盘。首先你要先打开Setup Dick 1上的PACKING.LST文件,找到哪一个盘包含了SORT.EX_,然后再把此盘插入驱动器A,再用下面的命令拷贝及展开文件: 
expand a:\sort.ex_ c:\dos\sort.exe 
为了通过EXPAND的提示而拷贝及展开SORT.EX_文件到硬盘,那么在命令提示符下要键入命令: 
expand 
EXPAND将进行下面的提示: 
Type
the location and name of the compressed file you want to expand. 
(Example:
A:\EGA.SY_) 
Compressed
file: 
为了在驱动器A中从Setup盘展开SORT.EX_文件,要输入下面命令: 
a:\sort.ex_
EXPAND将进行下面的提示: 
Type
the location and/or name you want to give the expanded file. 
(Example:
C:\DOS\EGA.SYS) 
Expanded
file: 
如果你的MS-DOS文件在C:\DOS目录,那么输入下面的命令: 
c:\dos\sort.exe
Microsoft
(R) File Expansion Utility  Version 5.1.2600.0
Copyright
(C) Microsoft Corp 1990-1999.  All
rights reserved.
Expands one or more compressed files.
EXPAND
[-r] Source Destination
EXPAND
-r Source [Destination]
EXPAND
-D Source.cab [-F:Files]
EXPAND
Source.cab -F:Files Destination
  -r           
Rename expanded files.
  -D           
Display list of files in source.
  Source       
Source file specification.  Wildcards may be used.
  -F:Files      Name of files to
expand from a .CAB.
  Destination   Destination file | path
specification.
               
Destination may be a directory.
               
If Source is multiple files and -r is not specified,Destination
must be a directory.