Ping Batch File

@Echo Off
REM ##################################################################
REM Batch written by Dashrath Chate
REM Created Date 13-02-2016
REM######################################################################
Title Batch Executed by Administrator
:TOP
set IP = IPADDRESS
 echo %time% >> "%Userprofile%\Desktop\%IP%.log"
 ping <%IP%> >> "%Userprofile%\Desktop\%IP%.log
 GOTO TOP

2 comments:

  1. Hello Sir,
    Please send me script for Ping more host names in single batch file. If it's feasible ?

    ReplyDelete
  2. Hello Friend, Please find the link from this blog where you can find out the required script.
    https://dashrathchate.blogspot.com/2021/09/ping-multiple-hostnames-in-single.html

    ReplyDelete

Leave your valuable words here for improve better.