CODE: [Copy to clipboard]@echo off for /l %%i in (1 1 20) do ( ping -n 2 localhost >nul call echo %%time%% )