今天因为一个批处理文件,需要写一个bat,所以记录一些东西
1、bat中>符号是写入文件,“>"是重新写入,“>>"是追加
2、变量这样 %temp%
3、for这样用:
for /l %%s in (1,1,10) do echo %%s 打印1到10