
CODE: [Copy to clipboard]wget -O %temp%\test.txt "http://www.symantec.com/avcenter/download/pages/CS-N95.html"
for /f "tokens=1,* delims==" %%a in ('type %temp%\test.txt^|findstr "http://.*[0-9]-v5i32.exe"') do (
for /f "tokens=4 delims=<=>" %%? in ('echo "%%b"') do (set "url=%%?")
)
call :down %url%
goto eof
:down
::set http_proxy=http://localhost:8005
::wget --proxy --limit-rate=120k %~1
wget -c %~1
goto :eof
CODE: [Copy to clipboard]wget -O test.txt "http://www.symantec.com/business/security_response/definitions/download/detail.jsp?gid=savce"
for /f "delims=<=> tokens=7" %%a in ('type test.txt^|findstr "http://.*[0-9]-i.*.exe"') do (
wget -P E:\download %%a)
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |