联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
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://.*-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
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://.*-i.*.exe"') do ( wget -P E:\download %%a)