批处理∶读取a.txt文件的第一行字符后写入b.txt中。

2025-04-06 00:08:28
推荐回答(1个)
回答1:

for /f "delims=" %%i in (a.txt) do (
>>b.txt echo %%i
goto a
)
:a
pause