Batch processing of intermittent output text

Time:2020-6-4

usage method:
1. Copy the following code to the text document
2. Change the suffix to. Bat
3. Double click to run

Copy codeThe code is as follows:
@echo off
:a
cls
echo.
echo.
echo.
set /a a+=1
For%% a in (I love you) do (set / P =%% a < nul & Ping – N 2 127.1 > nul & set / P = — < nul)
echo * *
ping -n 3 127.1>nul
if %a% lss 8 (goto :a)
cls
exit