发布时间: 2023-01-19 01:01:00
refer to: https://stackoverflow.com/questions/30011267/create-an-empty-file-on-the-commandline-in-windows-like-the-linux-touch-command
https://stackoverflow.com/questions/773610/add-a-new-line-to-a-text-file-in-ms-dos
type nul > empty_file.txt
echo. > empty_file2.txt
echo > file echo line1 >> file echo line2 >> file
可以看到内容过去了
也可以使用type 命令来查看