本帖最后由 zm900612 于 2011-4-29 22:24 编辑
这个vbs部分是照搬别人的...- @echo off&setlocal enabledelayedexpansion
- more>1.vbs +16 %0
- wscript //nologo 1.vbs "http://bbs.tt365.net.cn/viewthread.php?tid=161145" 1.htm
- (for /f "delims=" %%a in ('findstr /rc:"【.*】" 1.htm') do (
- set str=%%a【
- for /l %%b in (1 1 100) do (
- if "!str!" neq " " for /f "tokens=1* delims=】" %%c in ("!str:*【=!") do (
- if not defined .%%c (
- set .%%c=.
- echo %%c
- )
- )
- )
- ))>3.txt
- pause&exit
-
- 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.ResponseBody
- sGet.SaveToFile iLocal,2
复制代码
|