For循环

::输出1 2 3 4 5
for /l %%i in (1,1,5) do @echo %%i

::遍历F:\Scripts_LocalUse\ADUsers下.txt文件
for /r F:/Scripts_LocalUse/ADUsers/ %%i in (*.txt) do %%i

 

参考:http://blog.csdn.net/lujianfeiccie2009/article/details/5761286

 

posted on 2015-09-08 13:38  momingliu11  阅读(210)  评论(0编辑  收藏  举报