Network Connectivity Script Help. Share on Facebook Post on reddit Tweet on Twitter Share on LinkedIn Home › Forums › Scripting › General Scripting › Network Connectivity Script Help. This topic has 7 replies, 3 voices, and was last updated 13 years, 3 months ago by U-Phorik. Viewing 1 post (of 1 total) Author Posts U-PhorikMember Jun 18, 2007 at 8:09 am #126159 Help me out here, I’m having a ‘Case of the Mondays’ and I’ve got a lot on my plate… Can someone help me out with this… Basically, I want my batch script to do this: 1. Start DHCP Client 2. Ping Our Default Gateway IF PING FAILS KILL DHCP, and Send a Message. IF PING SUCCESSFUL SEND MESSAGE Below is my script: (Adjust and add code as needed) @echo off NET START “DHCP Client” ping xx.xx.xx.x IF errorlevel 1 NET STOP “DHCP Client” PAUSE Thanks Author Posts Viewing 1 post (of 1 total) You must be logged in to reply to this topic.