Wednesday, 17 April 2024

Timestamp ping in CMD...Windows ..

 By using CMD, You can use the below given command to ping to any destination with having date and time .


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







No comments:

Post a Comment