Hi Guys, I need some help writing a batch file to test network connectivity for various locations. Basically we are transitioning to from an existing network provider to a new network provider. What I would like the script to do Ping a list of IP address and then output the results into a simple text file of each IP Address. The text file ideally should just display something along the lines of ping www.google.com Successful or ping www.google.com Unsuccessful This is what I have so far but it is a bit broken. Code: @echo off Title Cut over to Telstra Check set OutputFile=result.txt cd\ CLS Echo. Cut over test Echo. Echo. Ping all sites Pause Ping www.google.com.au | find "Reply" echo ping to google successful >>"C:\nettest\OutputFile.txt" IF NOT echo ping to google unsuccessful >>"C:\nettest\OutputFile.txt" Ping www.techpowerup.com | find "Reply" echo ping to TechPowerup successful >>"C:\nettest\OutputFile.txt" IF NOT echo ping to Techpowerup unsuccessful >>"C:\nettest\OutputFile.txt" pause I'm not sure how to do a IF NOT command and make it jump to the next line. Thanks!