📜  循环中的 cmd echo datetime - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:00.398000             🧑  作者: Mango

代码示例1
@echo off
setlocal enabledelayedexpansion
FOR /L %%A IN (1,1,100) DO (
echo Loop Started: !date! - !time!  
timeout /t 5 /nobreak > NUL
)