Posted on 2009-08-11 00:03
S.l.e!ep.¢% 阅读(181)
评论(0) 编辑 收藏 引用 所属分类:
DOS
@echo off
setlocal enabledelayedexpansion
for /l %%i in (1,1,10) do (SET s=!s! %%i)
ECHO !s!
pause
@echo off
setlocal enabledelayedexpansion
for /l %%i in (1,1,10) do (set/p=%%i <nul)
echo.
pause