
CODE: [Copy to clipboard]@echo off&setlocal enabledelayedexpansion
for /f "delims=" %%i in (a.txt) do (
set /a n+=1
if !n! equ 1 set "a=%%i"
if !n! equ 2 set "b=%%i"
if !n! equ 3 set "c=%%i"
if !n! geq 4 set "e=!e! %%i"
)
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |