battab 当前离线
一级士官
@echo off for /l %%i in (1,1,999) do ( set str=%%i setlocal enabledelayedexpansion if "!str:~1,1!"=="" set str=00!str! if "!str:~2,1!"=="" set str=0!str! echo !str!>>a.txt endlocal ) pause>nul复制代码
TOP
@echo off for /l %%i in (1,1,999) do ( set str=%%i setlocal enabledelayedexpansion if "!str:~1,1!"=="" set str=00!str! if "!str:~2,1!"=="" set str=0!str! echo !str!&ping -n 1 127.1>nul&cls endlocal ) pause>nul复制代码