Windows - how to test internet connection with bat script
Hello, can anyone advise me how to perform an internet test at a customer via a bat script? I imagine something in the sense that it stores the result of the response via ping including the time datetime data. Thanks
Hello,
the stability test of the internet connection could look like this using a bat script, for example:
The gateway in this case is 192.168.121.1. The output of the measurement is stored in the log.txt file.
REPLY
Hello,
the stability test of the internet connection could look like this using a bat script, for example:
echo Time = %time% %date% >> log.txt
ping 192.168.121.1 >> log.txt
ping 8.8.8.8 >> log.txt
ping 192.168.121.1 >> log.txt
pathping 8.8.8.8 >> log.txt
The gateway in this case is 192.168.121.1. The output of the measurement is stored in the log.txt file.