Answer the question
In order to leave comments, you need to log in
How to ping multiple ip addresses?
The fact is that I have a lot of "SetMasters" that contain a huge number of ip-addresses, as I mean, not all of them work. So how do I ping all of them through a batch file?
Answer the question
In order to leave comments, you need to log in
FOR /F "tokens=*" %%a IN (pinghost.txt) DO ping %%a
where pinghost.txt is a list of ip addresses.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question