标题:
如何将输出写入文件开始处?
[打印本页]
作者:
noe
时间:
2008-9-27 14:52
标题:
如何将输出写入文件开始处?
例如用>>1.txt
输出的都是追加到1.txt的末尾.
我现在希望将输出的内容添加到开始,而不是末尾.该如何做到.
先行感谢.
作者:
slore
时间:
2008-9-27 14:58
@echo off
echo o(∩_∩)o>t.txt
copy /b t.txt+o.txt n.txt
pause
作者:
slore
时间:
2008-9-27 15:01
@echo off
echo o(∩_∩)o>t.txt
copy /b t.txt+1.txt t.txt
del 1.txt /f
ren t.txt 1.txt
pause
欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/)
Powered by Discuz! 2.5