I got this bat file from Stackoverflow that someone had posted back in 2014 but it will not output any info to the filename?
The file is created but without any info.....
can anyone please help, trying to record the ping output every 1 minute on a windows 7 machine.
@ECHO off set IPADDRESS=192.168.0.1 set INTERVAL=60 :PINGINTERVAL ping %IPADDRESS% -n 1 >> filename.txt timeout %INTERVAL% GOTO PINGINTERVAL
@ECHO offto see what it's doing.