
I know that there are more ways to do this but since i'm far from an advanced scripter
i'm asking you guys (are there any females around?

to achieve the goal i want (i don't want to work with temporary files so i guess a FOR loop is necessary).
I use the following command:
ping -a -n 1 -w 0 %IP%
The default output has way too much info i don't want but i don't know how to skip/ignore or strip them from the result:
C:\Users\admin>ping -a -n 1 -w 0 74.125.79.94
Pingen naar ey-in-f94.1e100.net [74.125.79.94] met 32 bytes aan gegevens:
PING: verzenden mislukt. Algemene fout.
Ping-statistieken voor 74.125.79.94:
Pakketten: verzonden = 1, ontvangen = 0, verloren = 1
(100% verlies).