誰か助けてください。私が持っているリストから大量のtxtファイルを作成するバッチスクリプトを作成します。txtにはテキストに数行を含める必要があり、その一部にはファイルの名前が必要です。だから例えば。
mkdir file1.txt
次に、.txt ファイルに次のものが必要です。
this file contains info
owner of the file is 'file.txt'
data for this file is in C:\Users\'file.txt'
これが十分に明確でない場合はお知らせください ありがとう
(OPのコメントからコピー/フォーマット - OP:編集リンクを使用して質問を編集します(もちろん、慎重に))
これまで私は書いてきました
@echo off
for %%a in (*.txt) do type customer=customer fromAddress=email@domain.com andOrAddress=OR toAddress=email@domain.com outputPath=E:\Exgest\customer\email@domain.com outputFormat=MIME customHeaders=true fromDate=20030901 toDate=20101231 >> (*.txt)
これはテキストの追加に失敗し、このフォルダーに *.txt ファイルのみを作成しました。次に、コピー >> email@domain.com を実行してみました
リスト内の各メールアドレスに対して、各ファイルの con >> name をコピーします
追加したばかりの構文は、txt ファイルに正しいものです。申し訳ありませんが、私はバッチスクリプトで非常に新しいです。