thankyou for your help so far, and i assure you this is not for any abusive reasons.
its for my own channel, and i want to be able to check if someone is inactive cos we are on quite a buggy server.
the code you put works fine, however, it only comes up with one ip in the bat file.
i wanted it to run with both ips, with a space between.
can i only have 1 ip?
and the ping.eze file is one i have made myself that pings all ips between the two numbers, which is why i need the bat to note both ips...