#目的
日付つきのテンプレtxtファイルをbatで作成してみる
#コード
@echo
set str_date=%date:~0,4%%date:~5,2%%date:~8,2%
type null > ファイル名_%str_date%.txt
chcp 932
echo テキストに表示する内容 >> ファイル名_%str_date%.txt
echo. >> ファイル名_%str_date%.txt
pause
#tips
・txtファイル内のテンプレ化したい日本語テキストは
chcp932で記述
・テキスト内の改行はecho.で行う