
CODE: [Copy to clipboard]@echo off
::输入要在test.txt文件每一行加入的内容
set/p context=请输入你要加入的内容:
if "%context%"=="" goto :eof
for /f "delims=" %%a in (test.txt) do (
>>new_test.txt echo %context%%%a
)
del test.txt&ren new_test.txt test.txt¬epad test.txt&pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |