I want a Star Wars text effect in a batch file even if it doesn't get smaller when the text reaches the top.
How can I make text scroll up?
@echo off
Cls
:top
Echo %random% %random% %random% %random% %random% %random%
Goto top
I want a Star Wars text effect in a batch file even if it doesn't get smaller when the text reaches the top.
How can I make text scroll up?
@echo off
Cls
:top
Echo %random% %random% %random% %random% %random% %random%
Goto top
If you first cls
and then print a lot of blank lines, any new lines you print will scroll up from the bottom of the screen. Also, you can use the ping command to add a small delay to each loop. Try something like this:
@echo off
cls
for /l %%i in (1,1,100) do echo.
:top
echo %random% %random% %random% %random% %random% %random%
ping 192.0.2.2 -n 1 -w 100 >nul
goto top