bdk322 当前离线
列兵
TOP
went 当前离线
少校
@echo off & cd /d "%~dp0" setlocal enabledelayedexpansion set "group=2" set /a "num=1,cnt=0" for %%i in (*) do ( if /i not "%%~nxi"=="%~nx0" ( echo !num!:%%~i, "%%~i" set /a "cnt=(cnt+1)%%group%" if !cnt! equ 0 set /a "num+=1" ) ) pause&exit复制代码
评分人数