Ping to multiple addresses

  • Thread starter Thread starter Yossi Pelech
  • Start date Start date
Y

Yossi Pelech

Hi,

Is it possible to ping to multiple addresses or list of
addresses from the command line? what's the syntax?

(I don't want to use batch file)

Thanks in advance,

Yossi
 
quoted from http://www25.brinkster.com/ChicagoTech
How to ping on the entire subnet

For example, to ping 192.168.0.1 to 192.168.0.255, use "FOR /L %i IN
(1,1,255) DO ping -a 192.168.0.%i" command. Note: (1,1,255) - (start, step,
end) and %i is the variable.

For more and other information, go to
http://www25.brinkster.com/ChicagoTech

Don't send e-mail or reply to me except you need consulting services.
Posting on MS newsgroup will benefit all readers and you may get more help.

Robert Lin, MS-MVP, MCSE & CNE
Windows & Network Support, Tips and FAQs on
http://www25.brinkster.com/ChicagoTech
This posting is provided "AS IS" with no warranties.
 
Back
Top