Is there any way to CLS a single line of output? I don\'t believe there are any switches for CLS, so maybe a better question would be:
CLS
If you only need to move the cursor in one line (like your sample), it's possible with a carriage return character.
@echo off setlocal EnableDelayedExpansion for /f %%a in ('copy /Z "%~f0" nul') do set "CR=%%a" for /L %%n in (5 -1 1) do ( nul )