All pastes #736076 Raw Edit

Untitled

public text v1 · immutable
·published 2007-10-14 03:50 UTC
rendered paste body
   Set oWshShell = WScript.CreateObject("WScript.Shell")
   strAnswer = InputBox("Please enter the System's Name:", _
   "Pinger")
   sCommand = "ping -t " & strAnswer
If strAnswer = "" Then
    Wscript.Quit
Else
    oWshShell.Run(sCommand)
    MsgBox strAnswer & sCommand
End If