Penetration Testing, Vulnerability Assessment, Malware Analysis, Reverse Engineering, Packet Analysis, Wireshark, tshark, tcpdump, Tips & Tricks, Notes, Network Security, Unix, Solaris, Firewalls, Cisco ASA, Cisco PIX, Checkpoint, Netscreen
For /f %%i in (testservers.txt) do ping -n 1 %%i >>state.txt
https://superuser.com/questions/733168/batch-script-to-find-out-whether-a-host-is-up-or-down