Search found 3 matches
- 15 Oct 2012 07:31
- Forum: DOS Batch Forum
- Topic: How to change order of echo in output txt.file.
- Replies: 3
- Views: 1953
- 15 Oct 2012 06:28
- Forum: DOS Batch Forum
- Topic: How to change order of echo in output txt.file.
- Replies: 3
- Views: 1953
Re: How to change order of echo in output txt.file.
This will add the new data to the top of "original-file.txt" @echo off >>tmp.tmp echo 1 >>tmp.tmp echo 2 type "original-file.txt" >> "tmp.tmp" move /y "tmp.tmp" "original-file.txt" Thank you very much its works perfectly what I need.
- 15 Oct 2012 05:52
- Forum: DOS Batch Forum
- Topic: How to change order of echo in output txt.file.
- Replies: 3
- Views: 1953
How to change order of echo in output txt.file.
Hi to All. How I can change the order echo output lines. Example. Exa.bat echo 1 >> c:\test.txt echo 2 >> c:\test.txt output from first running at 10:00 AM test.txt 1 2 output in second running 10:01 AM test.txt 1 the value from first running 2 the value from first running **************************...