vspeitao 当前离线
列兵
setlocal enabledelayedexpansion set b=0 for /l %%a in (1,1,10) do ( set /a b=!b!+1 echo %b% ) echo %b% pause复制代码
garyng (GaryNg)当前离线
少尉
setlocal enabledelayedexpansion复制代码
TOP
Hello123World 当前离线
荣誉版主
@echo off&setlocal enabledelayedexpansion set b=0 for /l %%a in (1,1,10) do ( set /a b=!b!+1 echo !b! ) echo %b% pause复制代码
wc726842270 (枫中残雪)当前离线
大校
@echo off setlocal enabledelayedexpansion set b=0 for /l %%a in (1,1,10) do ( set /a b=!b!+1 echo !b! ) echo %b% pause复制代码
评分人数
@echo off&setlocal enabledelayedexpansion echo office2003 所有文件下载 >office.htm echo ^<br /^> >>office.htm echo ^<table width="1200" height="400" border="2" cellpadding="0" cellspacing="0" class="tb"^> >>office.htm set /a s=0 echo ^<tr^> >>office.htm for %%a in (office\*.*) do ( set /a s+=1 echo ^<td^>^<a href="%%a"target="_blank" style="text-decoration:none"^>%%~nxa^</a^>^</td^> >>office.htm if %s:~-1%==5 echo ^</tr^>^<tr^> >>office.htm if %s:~-1%==0 echo ^</tr^>^<tr^> >>office.htm ) pause复制代码
awk 当前离线
上尉
@echo off setlocal enabledelayedexpansion set b=0 for /l %%a in (1,1,10) do ( set /a b+=1 echo !b! ) echo !b! pause复制代码