我没有测试条件,就帮你搜了下。有两个办法,一个是用VBS,例子如下:
telnet命令:
telnet members. 80
GET /dyndns/update?system=dyndns&hostname=myDB. HTTP/1.1
Host: members.
Authorization: Basic bXlEQjoxMjM0NTY=
VBS脚本:
--------------------------------------------------------------------------------------
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "telnet members. 80"
WScript.Sleep(1200)
WshShell.SendKeys "GET /dyndns/update?system=dyndns&hostname=myDB. HTTP/1.1{enter}"
WScript.Sleep(500)
WshShell.SendKeys "Host: members.{enter}"
WScript.Sleep(500)
WshShell.SendKeys "Authorization: Basic bXlEQjoxMjM0NTY={enter}"
WScript.Sleep(500)
WshShell.SendKeys "{enter}"
第二个用VB的winsock控件,例子也很简单
http://