no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | howto:how_to_ping_in_vbscript [2012/07/03 20:44] (current) – created smark | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== How To Ping in VBScript ====== | ||
+ | ====== Code ====== | ||
+ | |||
+ | < | ||
+ | PINGFlag = Not CBool(WshShell.run(" | ||
+ | If PINGFlag = True Then | ||
+ | MsgBox "Ping Successful" | ||
+ | Else | ||
+ | MsgBox "Ping Unsuccessful" | ||
+ | End If</ |