2008年9月6日土曜日

extrac32.exe

extrac32.exe

cabファイルの操作を行うexe。
/h とか /? でもオプションが出なくて困っていたが、ヘルプファイルを吐き出させるコマンドをWebページで見つけた。

以下コマンド
extrac32 > helpfile.txt
すると、実行時のディレクトリルートに helpfile.txt が作成され、以下の内容がテキスト化されている。

Microsoft (R) Cabinet Extraction Tool - Version 5.1.2600.2180
Copyright (c) Microsoft Corporation. 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.
意外と出てこなくて苦労した。