I am trying to figure out an internet issue. Our IT company has created a file that appears to continually ping google. So I opened the log and they are now saying we corrupted the file, however, all I am seeing from this command is a basic ping with extra detail. Can someone let me know what all this line of code does?
ping -t www.google.com |find /v ""|cmd /q /v:on /c "for /l %%a in (0) do (set "data="&set /p "data="&if defined data echo(!time! !data!)" >> C:\windows\Temp\StreamingLog.txt
ping -t www.google.com >> C:\windows\Temp\StreamingLog.txt
gives pretty much the same output. I'm not sure what IT are trying to do here ...hrping
have this functionality built in though, which would have shrunk this command line down tohrping -t -T www.google.com >> file