BATCH FILE TO PING MULTIPLE IP'S AND DO AN ACTION (IF/ILSE)

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
foxidrive
Expert
Posts: 6033
Joined: 10 Feb 2012 02:20

Re: BATCH FILE TO PING MULTIPLE IP'S AND DO AN ACTION (IF/IL

#16 Post by foxidrive » 23 Sep 2014 09:09

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.

Haris1977
Posts: 16
Joined: 23 Sep 2014 03:48

Re: BATCH FILE TO PING MULTIPLE IP'S AND DO AN ACTION (IF/IL

#17 Post by Haris1977 » 23 Sep 2014 14:18

Thanks again for your help! :mrgreen: :mrgreen:

Post Reply