Time Stamp on Ping log

Home Forums Scripting General Scripting Time Stamp on Ping log

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    usits
    Member
    #128256

    Here is what I have

    @ echo off
    :START
    date/t && time/t && ping 192.168.12.2 >> c:ping.txt
    sleep 5
    goto START

    I get the time stamp but it doesn’t show if the ping was successful or not successful. Any ideas?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.