437153 当前离线
一级士官
@ECHO OFF set a=0 :kaishi set b=s%a% set s0=000000 set s1=111111 ` ` ` set s9=999999 echo %b% set /a a=%a%+1 if %a% GTR 9 (goto kaishi) else (exit)复制代码
TOP
DAIC 当前离线
中将
@echo off setlocal enabledelayedexpansion set s0=192.168.1.1 set a=0 set b=s%a% call set n=%%!b!%% ping %n% pause复制代码
yiwuyun 当前离线
四级士官
@ECHO OFF setlocal enabledelayedexpansion set a=0 :kaishi set b=s%a% set s0=000000 set s1=111111 echo !b!复制代码
@echo off setlocal enabledelayedexpansion set s0=000000 set a=0 set b=s%a% call echo %%!b!%% pause复制代码