I also don't know whether the sleep command in there still works or not on modern OSes....but hopefully you can dissect the relevant parts from it.
On 6 November 2014 16:13, David McSpadden <[email protected]> wrote: > I want to run a windows batch the just does a ping. > > If the ping returns good data do nothing but if the ping fails set an > error code I can look for and address it outside the batch. > > Anyone have or can point me to a . b a t script that does this already?? > > Thanks > > > > This e-mail and any files transmitted with it are property of Indiana > Members Credit Union, are confidential, and are intended solely for the use > of the individual or entity to whom this e-mail is addressed. If you are > not one of the named recipient(s) or otherwise have reason to believe that > you have received this message in error, please notify the sender and > delete this message immediately from your computer. Any other use, > retention, dissemination, forwarding, printing, or copying of this email is > strictly prohibited. > > Please consider the environment before printing this email. > -- *James Rankin* --------------------- RCL - Senior Technical Consultant (ACA, CCA, MCTS) | The Virtualization Practice Analyst - Desktop Virtualization http://appsensebigot.blogspot.co.uk

