Something like this?

Ping <ip or hostname>
If %errorlevel% == 0 goto end
Call batch.cmd

:end

Grtz,
Cor

-----Original Message-----
From: Dennis Melahn [mailto:[email protected]] 
Sent: 18 May 2009 16:31
To: NT System Admin Issues
Subject: Ping failure script

Anyone have anything that will run a batch file if a ping fails?

Thanks,
Dennis

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to