Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

cmd echo datetime in loop

@echo off
setlocal enabledelayedexpansion
FOR /L %%A IN (1,1,100) DO (
echo Loop Started: !date! - !time!  
timeout /t 5 /nobreak > NUL
)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cmd #echo #datetime #loop
ADD COMMENT
Topic
Name
5+1 =