From: Edward QU Date: 2011-10-08T12:27:11+09:00 Subject: Re: net ping is in error in Windows 7 OS thanks all above reply, the Net::Ping::External could not work, but the Net::Ping::TCP. works. pt = Net::Ping::TCP.new("#{ip_list}") if pt.ping # puts "#{ip_list} TCP ping successful" else # puts "ping unsuccessful: #{pt.exception}" end Regards Edward -- Posted via http://www.ruby-forum.com/.