Haris1977 wrote:Doesnt work. Still says press any key to continue
My code does exactly what you asked for but it will exit when there are no active IPs
because you didn't specify a case for ZERO active IPs, so I did the obvious thing - exit on zero active IPs.