
CODE: [Copy to clipboard]@echo off
setlocal enabledelayedexpansion
for /f %%i in (test.txt) do (
set /a count+=1
set first=!second!
set second=%%i
if !count! gtr 1 echo !first! !second!
)
pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |