批量新建文本文件
cmd /k for /l %a in (1,1,100) do echo.>d:\%a.txt
写成bat要改为:
for /l %%a in (1,1,100) do echo.>d:\%%a.txt
就这一句保存为xx.bat就行了。