How to write this file?
Its purpose is to output on the same line without starting a new line.
For example:
echo a >t.txt
Then there is a line in t.txt showing a.
Now the problem is,
echo b >t.txt
b starts a new line in file t.txt. So how to make it display immediately after a, that is:
ba
This article is different from my last post.
The first one is: http://www.cn-dos.net/forum/viewthread.php?tid=25963&fpage=1
I have thought about it for a long time and haven't come up with it. Please help! Thanks
[ Last edited by scriptor on 2006-12-28 at 02:51 AM ]
Its purpose is to output on the same line without starting a new line.
For example:
echo a >t.txt
Then there is a line in t.txt showing a.
Now the problem is,
echo b >t.txt
b starts a new line in file t.txt. So how to make it display immediately after a, that is:
ba
This article is different from my last post.
The first one is: http://www.cn-dos.net/forum/viewthread.php?tid=25963&fpage=1
I have thought about it for a long time and haven't come up with it. Please help! Thanks
[ Last edited by scriptor on 2006-12-28 at 02:51 AM ]
