10 lines
362 B
Batchfile
Executable File
10 lines
362 B
Batchfile
Executable File
@echo off
|
|
set Address=google.com
|
|
:Loop
|
|
PING -n 5 127.0.0.1>nul
|
|
echo Pinging %Address%
|
|
%SystemRoot%\system32\ping.exe -n 1 %Address% | %SystemRoot%\system32\find.exe "TTL=" > NUL
|
|
if %ERRORLEVEL% EQU 0 goto :Loop
|
|
echo Trace route %Address% at %date% %time% >> D:\Scripts\InternetCheck\tracert.log
|
|
tracert %Address% >> D:\Scripts\InternetCheck\tracert.log
|
|
goto Loop |