備忘録

備忘録

Windows で touch を使う

Ⅰ. はじめに

Windows に touch コマンドは存在しません。

Ⅱ. やり方

type nul > hoge.txt

これは以下のコマンドに相当します。

touch hoge.txt