本帖最后由 Green_leaves 于 2012-6-15 19:19 编辑
blog:x0day.sinaapp.com
'author:DM_ ,[email protected]
'date:2012,1,23
Dim url,arg,fso
Set arg = WScript.Arguments
Set fso = CreateObject("scripting.filesystemobject")
url = "http://"+arg.Item(0)
Set file = fso.GetFile ("url.txt")
Set f = file.OpenAsTextStream (1,-2)
Do
s=f.ReadLine
WScript.Echo (url+s)
status (url+s)
Loop Until f.atendofline
''''''''''''''function_area'''''''''''''''
Function status(url)
Set xml = CreateObject("msxml2.xmlhttp")
xml.open "get",url,False
xml.send()
WScript.Echo xml.statusText
End Function
新人报道 多多关照
vbs新手 求交流!
url.txt中存放的目录
附一张效果图
findurl.jpg