1. type nul>a.exe
2. cd >a.exe
3.cd. >a.exe
4.echo. >a.exe
>:表示覆盖
>>:追加
创建同时写入内容
echo 内容>a.txt
创建0-3.txt:
for /l %i in (0,1,3) do type nul>%i.txt
1. type nul>a.exe
2. cd >a.exe
3.cd. >a.exe
4.echo. >a.exe
>:表示覆盖
>>:追加
创建同时写入内容
echo 内容>a.txt
创建0-3.txt:
for /l %i in (0,1,3) do type nul>%i.txt