
CODE: [Copy to clipboard]第一行行首添加内容是同样的道理。@echo off
for /f "delims=" %%i in (a.txt) do >result.txt echo %%iyyy&goto next
:next
more +1 a.txt>>result.txt
start result.txt
CODE: [Copy to clipboard]@echo off
echo yyyy>result.txt
for /f "skip=1 delims=" %%i in (a.txt) do >>result.txt echo %%i
start result.txt
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |