ly88888 当前离线
列兵
pcl_test 当前离线
荣誉版主
TOP
@echo off set "第几行=3" set "重复次数=5" for /f "tokens=1* delims=:" %%a in ('more +9 "%~f0"^|findstr /n .*') do ( if "%%a" equ "%第几行%" ( for /l %%i in (1 1 %重复次数%) do echo;%%b ) else echo;%%b ) pause&exit 举 个 栗 子复制代码