for语句中的几种分隔符形式小结
程序员文章站
2022-03-07 21:33:01
其实for /l %i in (1,1,99) do @echo %i 括号中间的分隔号有多种 形式如下: for /l %i in (1,1,99) do @echo %...
其实for /l %i in (1,1,99) do @echo %i 括号中间的分隔号有多种
形式如下:
for /l %i in (1,1,99) do @echo %i
for /l %i in (1 1 99) do @echo %i
for /l %i in (1;1;99) do @echo %i
for /l %i in (1=1=99) do @echo %i
for /l %i in (1<tab>1<tab>99) do @echo %i <tab>----tab键
形式如下:
for /l %i in (1,1,99) do @echo %i
for /l %i in (1 1 99) do @echo %i
for /l %i in (1;1;99) do @echo %i
for /l %i in (1=1=99) do @echo %i
for /l %i in (1<tab>1<tab>99) do @echo %i <tab>----tab键
下一篇: cmd批处理转义字符%的详细解释