Jump to content
Toggle menu
  • 51 articles
  • 24 files
  • 4 users
  • 750 edits
Tech-Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Ping printing the time stamp

From Tech-Wiki


Technical reference for Ping printing the time stamp.

This command will ping a host whilst printing the current time stamp. Useful for long pings when you need to know when the packet was lost

ping -t 8.8.8.8|cmd /q /v /c "(pause&pause)>nul & for /l %a in () do (set /p "data=" && echo(!time! !data!)&ping -n 2 localhost>nul"

See also

Contents