コマンドプロンプトの copy コマンドでファイルを結合する

2009-10-1 07:00
このエントリーをはてなブックマークに追加

Windows のコマンドプロンプトで、分割ファイルを結合する方法です。copy コマンドで + 記号を使うことで悪数のファイルを結合できます。

2つのテキストファイルを結合します。

  C*\> copy aaa.txt + bbb.txt zzz.txt

“+” の前後の空白は無くても構いません。

3つのバイナリファイルを結合します。/b オプションを指定します。

  C*\> copy /b hoge.zip.001 + hoge.zip.002 + hoge.zip.003 hoge.zip

ワイルドカードも使えます。

  C*\> copy /b hoge.zip.* hoge.zip

ツールを使わずに結合できます。

  • ブックマーク :
    Warning: Use of undefined constant SBM_count_get - assumed 'SBM_count_get' (this will throw an Error in a future version of PHP) in /var/www/futuremix.org/wp-content/themes/futuremix/index.php on line 40

    Warning: Use of undefined constant show_post_count - assumed 'show_post_count' (this will throw an Error in a future version of PHP) in /var/www/futuremix.org/wp-content/themes/futuremix/index.php on line 40
    アクセス: 486,201回
  • カテゴリー : Windows
  • キーワード : , , ,

コメントはまだありません

No comments yet.

Sorry, the comment form is closed at this time.

68 queries. HTML convert time: 0.878 sec. Powered by WordPress. Valid XHTML
Copyright © 2003-2017 @ futuremix.org ログイン