Well, I guess I’ll put in two cents worth of a non-standard solution…

If you don’t want to have the “echo off” on the screen and don’t want to clear 
the screen either, you can do it using two utilities in V8Power tools 
(available and provided with FreeDOS). 

It would look something this…

—— TEST.BAT ——

echo off
vgotoxy up
vecho /n /e
echo hi

—— END ——

So what happens is this:

echo off                        # displays the command echo off
vgotoxy up              # moves the cursor back up one line
vecho /n /e             # tells vecho not to perform a CRLF when finished and 
tells it to clear everything from the cursor to the end of the line.
echo hi                 # prints hi where “echo off” originally was located.

While technically, echo off is printed then erased. It happens very quickly. 
Also, if you redirect output to a file, you will see the “echo off” that 
appears first. 

:-)

Jerome



_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to