窄口牛>
On Error Resume Next
strURL = "http://192.168.2.1/o"
Set objHTTP = CreateObject("MSXML2.XMLHTTP")
objHTTP.Open "GET", strURL, FALSE
objHTTP.Send
'msgBox objHTTP.Status
'msgbox objHTTP.StatusText
'Wscript.Echo(objHTTP.statusText)
if objHTTP.StatusText="OK" then
msgBox "去你的"
else
msgBox "你去的"
end if