I'm back to cmd methods... for /f "Skip=5 Tokens=11" %p in ('ping -n 1 somedomain.com') do (If "%p"=="(100%" net send %computername% somedomain missed a ping. | wscript pingalrt.vbs) Something like that anyway. I'll just run two jobs. One that checks for 100% loss and one that checks for DNS failure. The line above will check for 100% loss, I think... Thanks all, Ray at work > -----Original Message----- > From: Aaron Dokey [mailto:adokey@xxxxxxxxxxxx] > Sent: Tuesday, September 10, 2002 3:45 PM > To: 'windows2000@xxxxxxxxxxxxx' > Subject: [windows2000] Re: Multiple arguments in a batch > > > > Is there a VB script function to do pings? I know with perl > this wouldn't > be too hard. > > -Aaron > > ----------------------- > Aaron Dokey - MIS > Reid Tool Supply > 2265 Black Creek Rd. > Muskegon, MI 49444 > (231) 777-3951 > (231) 767-3772 (Direct) > ----------------------- > > -----Original Message----- > From: Costanzo, Ray [mailto:rcostanzo@xxxxxxxxxxx] > Sent: Tuesday, September 10, 2002 3:41 PM > To: 'windows2000@xxxxxxxxxxxxx' > Subject: [windows2000] Re: Multiple arguments in a batch > > > > Hi Jonathan, > > This almost works. Like, if the name can't be resolved, I'll > get a false ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** ================================== To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm