CODE: [Copy to clipboard]@Echo off :begin ping 192.168.0.2 /n 1 /w 1000|find "Request timed out" 1>nul 2>nul &&echo %time% goto begin