2013年3月17日日曜日

7z.exe コマンドプロンプトでファイルを解凍する方法

7z.exe コマンドプロンプトでファイルを解凍する方法





7z.exe コマンドプロンプトでファイルを解凍する方法

subst x: "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs"
7z.exe x j*.zip -ox:\
7z.exe x E*.zip -ox:\
pause

7z.exe ファイル解凍、x 解凍コマンド ‐o 解凍後ファイルの出力先です。
全てJから始まるZIPファイル、全てEからはじめるZIPファイルを
x:\ フォルダに解凍します。
x:\ は仮想ドライブです。
X:\: => C:\Program Files\Apache Software Foundation\Apache2.2\htdocs

7-Zipのホームページ(日本語)
http://sevenzip.sourceforge.jp/
http://sevenzip.sourceforge.jp/download.html

7-Zip コマンドラインバージョン
http://sourceforge.jp/projects/sfnet_sevenzip/downloads/7-Zip/9.20/7za920.zip/




Help
7-Zip (A) 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18

Usage: 7za <command> [<switches>...] <archive_name> [<file_names>...]
       [<@listfiles...>]

<Commands>
  a: Add files to archive
  b: Benchmark
  d: Delete files from archive
  e: Extract files from archive (without using directory names)
  l: List contents of archive
  t: Test integrity of archive
  u: Update files to archive
  x: eXtract files with full paths
<Switches>
  -ai[r[-|0]]{@listfile|!wildcard}: Include archives
  -ax[r[-|0]]{@listfile|!wildcard}: eXclude archives
  -bd: Disable percentage indicator
  -i[r[-|0]]{@listfile|!wildcard}: Include filenames
  -m{Parameters}: set compression Method
  -o{Directory}: set Output directory
  -p{Password}: set Password
  -r[-|0]: Recurse subdirectories
  -scs{UTF-8 | WIN | DOS}: set charset for list files
  -sfx[{name}]: Create SFX archive
  -si[{name}]: read data from stdin
  -slt: show technical information for l (List) command
  -so: write data to stdout
  -ssc[-]: set sensitive case mode
  -ssw: compress shared files
  -t{Type}: Set type of archive
  -u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options
  -v{Size}[b|k|m|g]: Create volumes
  -w[{path}]: assign Work directory. Empty path means a temporary directory
  -x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames
  -y: assume Yes on all queries



0 件のコメント:

コメントを投稿