このコマンドを 30 秒間ループさせてから完了と表示したいと思います。
@Echo off
pause
Title Matrix
Color 0A
:top
Echo %Random%%Random%%Random%%Random%%Random%%Random%%Random%%Random%%Random%%Random%%Random%%Random%%
(not loop the pause, just the %random%)
答え1
これはうまくいくかもしれない
@echo off
set looptime=30
set /a "T1=(%time:~6,2% + %looptime% ) %% 60"
:loop
Echo %Random%%Random%%Random%%Random%%Random%%Random%%Random%%Random%%Random%%Random%%Random%%Random%%
set T2=%time:~6,2%
if not %T1% == %T2% goto loop
:: continue with whatever