标签:exp 复合语句 常用 for window echo set dexp delay
setlocal EnableDelayedExpansion
set a=1 && echo !a!
setlocal EnableDelayedExpansion
for /l %%i in (1,2,5) do (
set /a a=%%i
echo !a!
)
标签:exp 复合语句 常用 for window echo set dexp delay
原文地址:http://blog.51cto.com/12173069/2071899