Wednesday, November 8, 2017

How to ping multiple ip

if you want to ping multiple IP addresses on a single batch file
1.Open Notepad and paste it
Example:
@echo off
Set "newbox=start cmd /k"

Set IPs=192.168.120.118 192.168.120.1 192.168.120.11  111.93.36.233 180.151.95.209 192.168.120.101

For %%* in (%IPs%) do %newbox% PING.exe -t %%*

2.Save this Notepad file in .bat extension.
3.You can ping multiple IP address using this script.

No comments:

Post a Comment

How to find the serial number usning CMD.

 1. Open the Command prompt. 2. Type the below mentioned command in CMD.        wmic bios get serialnumber