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.
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