
CODE: [Copy to clipboard]@echo off
set /a number=3
for /f "tokens=1* delims=:" %%i in ('findstr /n .* your_text_file') do (
if "%%i"=="%number%" (echo/%%j & echo the end...&pause&goto :EOF)
echo/%%j
)
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |