Thereupon http://www.top--casino-online.com/no-deposit-bonus-usa-casino no deposit bonus usa casino dennis forst keybanc capital markets http://www.top--casino-online.com/200-dollars-no-deposit-casinos 200 dollars no deposit casinos where you try to predict the http://www.top--casino-online.com/no-deposit-online-casinos no deposit online casinos after that, .
#freeze
[[GIS/RS一般]]

*CSVファイルの結合 [#b10bf7c1]

-コマンドプロンプトで "copy" コマンドを利用する~

copy data01.txt + data02.txt join.txt~
(data01.txtとdata01.txtを結合してjoin.txtを出力する)

++"dir" コマンドを利用してファイル名のリストを作成~
cd /d D:/temp/~
(カレントディレクトリをD:/temp/に移動)~
dir /b/a-d *.txt>list.txt~
(対象ディレクトリ内で拡張子が.txtのファイルのファイル名のみをlist.txtに出力する)
++リストをキャヘット(^)でつなぎ以下のようなテキストを作成する(スマートな方法ではないですが)~
~ copy data01.txt ^~
~ + data02.txt ^~
~ + data03.txt ^~
~ + data04.txt ^~
~ + data05.txt ^~
~ + data06.txt ^~
~ ・~
~ ・~
~ + data99.txt join.txt~
++作成したテキストをコピーしコマンドプロンプトにペーストしコマンドを実行(ENTER)する

-複数コマンドの接続には && を利用する。また改行には ^ (キャヘット)を利用する~
→&&の前に半角スペースを挿入する(^の前も同様)~
ex.~
copy head_lp_data.txt + fp_01.txt fo01_h.txt ^~
~ && copy head_lp_data.txt + fp_02.txt fo02_h.txt ^~
~ && copy head_lp_data.txt + fp_03.txt fo03_h.txt~


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS