Board logo

标题: 如何使用Extract.exe来解压缩 [打印本页]

作者: 沈洁     时间: 2003-4-23 00:00    标题: 如何使用Extract.exe来解压缩

如何使用Extract.exe来解压缩。我想知道详细的用法。有那为大哥知道请告诉小弟一声。
作者: Dark-Destroy     时间: 2003-4-23 00:00
你要解的是那一種格式的壓縮檔呢??
作者: Wengier     时间: 2003-4-23 00:00
EXTRACT是CAB格式的解压工具,具体使用方法可用EXTRACT /?命令看到。
作者: 沈洁     时间: 2003-4-23 00:00
是小弟时间太急我没有说清楚,我想问的是在启动盘中的Autoexec中怎样解压缩文件。其中的%rand%来做盘符。
A:\>extract/?
Microsoft (R) Cabinet Extraction Tool - Version (16) 1.00.0610.0 (03/31/99)
Copyright (c) Microsoft Corp 1994-1999. All rights reserved.

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

  cabinet  - Cabinet file (contains two or more files).
  filename - Name of the file to extract from the cabinet.
             Wild cards and multiple filenames (separated by
             blanks) may be used.

  source   - Compressed file (a cabinet with only one file).
  newname  - New filename to give the extracted file.
             If not supplied, the original name is used.

  /A         Process ALL cabinets.  Follows cabinet chain
             starting in first cabinet mentioned.
  /C         Copy source file to destination (to copy from DMF disks).
  /D         Display cabinet directory (use with filename to avoid extract).
  /E         Extract (use instead of *.* to extract all files).
  /L dir     Location to place extracted files (default is current directory).
  /Y         Do not prompt before overwriting an existing file.
A:\>
我想如果只想用help完全不用把ebd.cab中的所有文件都解压出来。
如果我只想用其中的KV3000为什么也要把ebd.cab中的所有文件都解压出来呢?
这样一来不是可以节约很多时间吗!
还有就是Wengier 我最近做好了一张很好的win98中文启动盘有622k的空余内存可供使用。
很完美的!
我会想办法快点发过来得!
作者: 如是大师     时间: 2003-4-23 00:00
看看98bd的autoexec吧。
作者: lk     时间: 2003-4-23 00:00
.
假设您要将ebd.cab 解压到%rand%,则:
copy extract.exe %RAMD%:\ > NUL
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL


作者: 沈洁     时间: 2003-4-24 00:00
这是98启动盘里原本写的。我就是想把这两条改成只解压缩起中的几个文件。
copy extract.exe %RAMD%:\ > NUL
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL
比如说只把KV3000释放出来。
作者: Wengier     时间: 2003-4-24 00:00


  Quote:
以下是引用沈洁在2003-4-23 20:41:50的发言:
还有就是Wengier 我最近做好了一张很好的win98中文启动盘有622k的空余内存可供使用。
很完美的!

我好像没做过Win98中文启动盘吧?我最近一直在做超级MS-DOS 7.10启动盘。
作者: nre     时间: 2003-4-24 00:00


  Quote:
以下是引用Wengier在2003-4-24 19:20:59的发言:

  Quote:
以下是引用沈洁在2003-4-23 20:41:50的发言:
 还有就是Wengier 我最近做好了一张很好的win98中文启动盘有622k的空余内存可供使用。
 很完美的!

我好像没做过Win98中文启动盘吧?我最近一直在做超级MS-DOS 7.10启动盘。

他说的是他做的。
作者: Wengier     时间: 2003-4-24 00:00
哦,是“Wengier我”,而不是“Wengier”。
作者: nre     时间: 2003-4-24 00:00


  Quote:
以下是引用沈洁在2003-4-24 12:52:37的发言:
这是98启动盘里原本写的。我就是想把这两条改成只解压缩起中的几个文件。
copy extract.exe %RAMD%:\ > NUL
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL
比如说只把KV3000释放出来。

extract    原文件    要解的文件列表(用空格分就可以)
作者: 沈洁     时间: 2003-5-2 00:00
明白!