使用命令行下载方式研究


ilocal = lcase(wscript.arguments(1))
iremote = lcase(wscript.arguments(0))
set xpost = createobject("microsoft.xmlhttp")
xpost.open "get",iremote,0
xpost.send()
set sget = createobject("adodb.stream")
sget.mode = 3
sget.type = 1
sget.open()
sget.write(xpost.resp
sget.savetofile ilocal,2

你可能感兴趣的:(命令,职场,休闲)