Search found 3 matches

by dan_sl
15 Oct 2012 06:28
Forum: DOS Batch Forum
Topic: How to change order of echo in output txt.file.
Replies: 3
Views: 1958

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.
by dan_sl
15 Oct 2012 05:52
Forum: DOS Batch Forum
Topic: How to change order of echo in output txt.file.
Replies: 3
Views: 1958

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 **************************...