545810831 当前离线
二级士官
@echo off&setlocal enabledelayedexpansion for /f "delims=" %%i in ('dir /b a\*.txt') do ( set n=10000 for /f "usebackq delims=" %%a in ("%%~dpia\%%~nxi") do ( set /a n+=1 echo !n:~-4! %%a>>new%%~nxi ) ) pause复制代码
TOP